fixed grouping error
This commit is contained in:
parent
bb0dbbfb92
commit
251d2d6135
|
@ -43,7 +43,7 @@
|
|||
mode: "0755"
|
||||
owner: root
|
||||
group: root
|
||||
when: '"docker" in ansible_facts.getent_group' and ansible_os_family == "Debian"
|
||||
when: ("docker" in ansible_facts.getent_group) and ansible_os_family == "Debian"
|
||||
|
||||
#######################################
|
||||
- name: Copy check_docker.sh from https://github.com/sysC0D/nagios-plugin (if docker group exists) (Alpine)
|
||||
|
@ -53,7 +53,7 @@
|
|||
mode: "0755"
|
||||
owner: root
|
||||
group: root
|
||||
when: '"docker" in ansible_facts.getent_group' and ansible_distribution == "Alpine"
|
||||
when: ("docker" in ansible_facts.getent_group) and ansible_distribution == "Alpine"
|
||||
|
||||
#######################################
|
||||
- name: copy check_mount.sh file to /lib/nagios/plugins (Debian based distros)
|
||||
|
|
Loading…
Reference in New Issue