dovecot: combine similar tasks
This commit is contained in:
parent
63745c2697
commit
112bc2133a
|
@ -9,20 +9,18 @@
|
|||
- name: Munin plugins are present and configured
|
||||
block:
|
||||
|
||||
- name: Disable dovecot plugin
|
||||
- name: Disable Dovecot plugin
|
||||
ansible.builtin.file:
|
||||
path: /etc/munin/plugins/dovecot
|
||||
state: absent
|
||||
|
||||
- name: Remove old dovecot plugin conf
|
||||
- name: Remove old Dovecot plugin conf
|
||||
ansible.builtin.file:
|
||||
path: /etc/munin/plugin-conf.d/dovecot
|
||||
state: absent
|
||||
|
||||
- name: Remove old dovecot plugin conf
|
||||
ansible.builtin.file:
|
||||
path: /etc/munin/plugin-conf.d/z-evolinux-dovecot
|
||||
path: "/etc/munin/plugin-conf.d/{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- dovecot
|
||||
- z-evolinux-dovecot
|
||||
|
||||
- name: "Remount /usr if needed"
|
||||
ansible.builtin.include_role:
|
||||
|
|
Loading…
Reference in a new issue