🎨: 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

@@ -2,13 +2,13 @@
- name: Install spamassassin
ansible.builtin.package:
name: "{{ item }}"
name:
- spamassassin
- spamass-milter
- libmail-dkim-perl
- libmail-spf-perl
state: present
loop:
- spamassassin
- spamass-milter
- libmail-dkim-perl
- libmail-spf-perl
update_cache: true
- name: Put configuration files for spamassassin
ansible.builtin.copy: