Fix quotation

This commit is contained in:
phil 2023-02-08 11:14:15 +01:00
parent 00bdc94223
commit 605a8406de

View file

@ -22,7 +22,7 @@
src: munin_configuration src: munin_configuration
dest: /etc/munin/plugin-conf.d/yyy-apache dest: /etc/munin/plugin-conf.d/yyy-apache
mode: 0644 mode: 0644
when: munin in ansible_facts.packages when: "'munin' in ansible_facts.packages"
notify: restart munin-node notify: restart munin-node
- name: "Monitoring | Enable Munin plugins" - name: "Monitoring | Enable Munin plugins"
@ -34,7 +34,7 @@
- apache_accesses - apache_accesses
- apache_processes - apache_processes
- apache_volume - apache_volume
when: munin in ansible_facts.packages when: "'munin' in ansible_facts.packages"
notify: restart munin-node notify: restart munin-node
- name: "Monitoring | Enable Monit configuration" - name: "Monitoring | Enable Monit configuration"
@ -42,5 +42,5 @@
src: monit.conf src: monit.conf
dest: /etc/monit/conf-enabled/apache2 dest: /etc/monit/conf-enabled/apache2
mode: 0644 mode: 0644
when: monit in ansible_facts.packages when: "'monit' in ansible_facts.packages"
notify: reload monit notify: reload monit