Verified it clips whole sections. Found that it includes all the
commentary leading the next section headline, so keeping a backup.
- name: Punt default Munin node.
become: yes
ini_file:
- section: "[localhost.localdomain]"
+ section: "localhost.localdomain"
state: absent
+ backup: true
path: /etc/munin/munin.conf
+ notify: Restart Munin.
- name: Configure actual Munin nodes.
become: yes
- name: Punt default Munin node.
become: yes
ini_file:
- section: "[localhost.localdomain]"
+ section: "localhost.localdomain"
state: absent
+ backup: true
path: /etc/munin/munin.conf
+ notify: Restart Munin.
- name: Configure actual Munin nodes.
become: yes