forked from evolix/ansible-roles
drbd-utils: fix typos
This commit is contained in:
parent
ea62e2a64e
commit
cfe7214bd0
|
@ -11,12 +11,12 @@
|
|||
src: munin/drbd-plugin
|
||||
dest: /etc/munin/plugins/drbd
|
||||
mode: "755"
|
||||
when: munin_plugins_dir.stat.exist
|
||||
when: munin_plugins_dir.stat.exists
|
||||
notify: restart munin-node
|
||||
|
||||
- name: Copy Munin plugin conf
|
||||
copy:
|
||||
src: munin/drbd-config
|
||||
dest: /etc/munin/plugin-conf.d/drbd
|
||||
when: munin_plugins_dir.stat.exist
|
||||
when: munin_plugins_dir.stat.exists
|
||||
notify: restart munin-node
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
- name: Mount /usr in rw
|
||||
command: mount -o remount,rw /usr warn=no
|
||||
changed_when: False
|
||||
when: nagios_plugins_dir.stat.exist
|
||||
when: nagios_plugins_dir.stat.exists
|
||||
|
||||
# https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3367&cf_id=30
|
||||
- name: Install Nagios plugin
|
||||
|
@ -16,4 +16,4 @@
|
|||
src: "nagios/check_drbd"
|
||||
dest: "/usr/local/lib/nagios/plugins/check_drbd"
|
||||
mode: "755"
|
||||
when: nagios_plugins_dir.stat.exist
|
||||
when: nagios_plugins_dir.stat.exists
|
||||
|
|
Loading…
Reference in a new issue