ansible-lint cleanups

This commit is contained in:
2026-08-11 00:28:29 -05:00
parent 8240771758
commit 4f1a023c8d
28 changed files with 79 additions and 901 deletions
@@ -10,7 +10,7 @@
path: /etc/apt/sources.list
regexp: '^(deb(?:-src)?\s+https?://[a-zA-Z0-9.-]*debian\.org\S*\s+)\b{{ ansible_facts["lsb"]["codename"] }}\b(.*)$'
replace: '\1{{ ensure_os_upgrade.target_codename }}\2'
backup: yes
backup: true
- name: Safe Upgrade Debian Packages
when:
@@ -19,7 +19,7 @@
- ensure_os_upgrade is defined
- ensure_os_upgrade.target_codename is defined
ansible.builtin.apt:
update_cache: yes
update_cache: true
upgrade: safe
dpkg_options: 'force-confnew,force-confdef'
environment:
@@ -34,8 +34,8 @@
ansible.builtin.apt:
upgrade: dist
dpkg_options: 'force-confnew,force-confdef'
autoremove: yes
autoclean: yes
autoremove: true
autoclean: true
environment:
DEBIAN_FRONTEND: noninteractive