🎨: use ansible.builtin.package with update_cache systematically

This commit is contained in:
VC
2024-11-06 13:34:03 +01:00
parent 7da2514a93
commit b910bf5e3d
38 changed files with 114 additions and 94 deletions

View File

@@ -1,14 +1,12 @@
---
- name: Install postfix
- name: Install postfix + mailutils
ansible.builtin.package:
name: postfix
state: present
- name: Install mailutils
ansible.builtin.package:
name: mailutils
name:
- postfix
- mailutils
state: present
update_cache: true
- name: Put main configuration files
ansible.builtin.copy: