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
d22d855302
commit
ca0d331181
3 changed files with 9 additions and 9 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
# install updates - alpine
|
||||
- name: "install updates - alpine"
|
||||
when: 'ansible_os_family == "Alpine"'
|
||||
when: 'ansible_facts["os_family"] == "Alpine"'
|
||||
block:
|
||||
|
||||
# install updates
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
# install updates - debian
|
||||
- name: "install updates - debian"
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
block:
|
||||
|
||||
# install updates
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
# install updates - rhel
|
||||
- name: "install updates - rhel"
|
||||
when: 'ansible_os_family == "RedHat"'
|
||||
when: 'ansible_facts["os_family"] == "RedHat"'
|
||||
block:
|
||||
|
||||
# install updates
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
# install updates - suse
|
||||
- name: "install updates"
|
||||
when: 'ansible_os_family == "Suse"'
|
||||
when: 'ansible_facts["os_family"] == "Suse"'
|
||||
block:
|
||||
|
||||
# install updates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue