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
92a65d41ef
commit
1373bcb935
2 changed files with 4 additions and 4 deletions
|
|
@ -5,10 +5,10 @@
|
|||
community.general.apk:
|
||||
name: "kea-dhcp4"
|
||||
update_cache: true
|
||||
when: 'ansible_os_family == "Alpine"'
|
||||
when: 'ansible_facts["os_family"] == "Alpine"'
|
||||
|
||||
- name: "install kea-dhcp4-server"
|
||||
ansible.builtin.apt:
|
||||
name: "kea-dhcp4-server"
|
||||
cache_valid_time: 120
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue