chore: migrate bare ansible_* facts to ansible_facts[] syntax
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
This commit is contained in:
parent
bfe3e7dae1
commit
9cd067fc9e
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
# install zabbix-web - debian
|
||||
- name: "install zabbix-web"
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
block:
|
||||
|
||||
# remove old zabbix-web
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
name: "{{ item }}"
|
||||
state: "present"
|
||||
update_cache: true
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
loop:
|
||||
- "zabbix-frontend-php"
|
||||
- "zabbix-apache-conf"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue