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
|
|
@ -6,7 +6,7 @@
|
|||
name: "keepalived"
|
||||
state: "restarted"
|
||||
enabled: true
|
||||
when: 'ansible_os_family == "Alpine"'
|
||||
when: 'ansible_facts["os_family"] == "Alpine"'
|
||||
|
||||
- name: "restart keepalived debian"
|
||||
ansible.builtin.systemd:
|
||||
|
|
@ -14,4 +14,4 @@
|
|||
state: "restarted"
|
||||
daemon_reload: true
|
||||
enabled: true
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue