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
db70ae436a
commit
21323a86a3
2 changed files with 4 additions and 4 deletions
|
|
@ -5,10 +5,10 @@
|
|||
community.general.apk:
|
||||
name: "keepalived"
|
||||
update_cache: true
|
||||
when: 'ansible_os_family == "Alpine"'
|
||||
when: 'ansible_facts["os_family"] == "Alpine"'
|
||||
|
||||
- name: "install keepalived"
|
||||
ansible.builtin.apt:
|
||||
name: "keepalived"
|
||||
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