ansible-lint cleanups

This commit is contained in:
2026-08-02 21:43:04 -05:00
parent 1f6f1f8967
commit 07222209ff
21 changed files with 110 additions and 108 deletions
+5 -6
View File
@@ -3,8 +3,8 @@
- name: 'include variables'
when:
- ansible_facts["system"] == 'Linux'
include_vars:
file: '{{ lookup("first_found", findme ) }}'
ansible.builtin.include_vars:
file: '{{ lookup("first_found", findme) }}'
name: 'ensure_os_upgrade'
vars:
findme:
@@ -80,8 +80,8 @@
- ensure_os_upgrade.package_list is iterable
- ensure_os_upgrade.target_version is defined
- ansible_facts["distribution_major_version"]|int < ensure_os_upgrade.target_version|int
async: '1'
poll: '0'
async: 1
poll: 0
ansible.builtin.shell: >
sleep 5 && dnf -y system-upgrade reboot
- name: 'Wait for the reboot'
@@ -109,6 +109,5 @@
- 'ensure_os_upgrade.package_facts'
- 'ensure_os_upgrade.service_facts'
- name: 'flush handlers'
meta: 'flush_handlers'
ansible.builtin.meta: 'flush_handlers'
...