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
b759bea241
commit
2272aa6a58
23 changed files with 70 additions and 70 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
# cleanup old motd debian
|
||||
- name: "cleanup old motd debian"
|
||||
when: "ansible_os_family == 'Debian'"
|
||||
when: "ansible_facts['os_family'] == 'Debian'"
|
||||
block:
|
||||
|
||||
# find old motd files
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0755"
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
|
||||
# configure motd
|
||||
- name: "motd - siempie - alpine"
|
||||
|
|
@ -51,4 +51,4 @@
|
|||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0755"
|
||||
when: 'ansible_os_family == "Alpine"'
|
||||
when: 'ansible_facts["os_family"] == "Alpine"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue