fixed grouping error

This commit is contained in:
Radar231 2022-01-03 13:12:26 -05:00
parent bb0dbbfb92
commit 251d2d6135
1 changed files with 2 additions and 2 deletions

View File

@ -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)