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
|
|
@ -13,13 +13,13 @@
|
|||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0644"
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
|
||||
- name: "apt - config - configure apt unatteded updates"
|
||||
ansible.builtin.template:
|
||||
src: "templates/apt/conf.d/50unattended-upgrades.{{ ansible_distribution }}.j2"
|
||||
src: "templates/apt/conf.d/50unattended-upgrades.{{ ansible_facts['distribution'] }}.j2"
|
||||
dest: "/etc/apt/apt.conf.d/50unattended-upgrades"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0644"
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
when: 'ansible_facts["os_family"] == "Debian"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue