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 @@
- ensure_os_upgrade.target_version is defined
- ansible_facts["distribution_major_version"]|int < ensure_os_upgrade.target_version|int
ansible.builtin.shell: >
dnf -y system-upgrade download --refresh --releasever={{ ensure_os_upgrade.target_version|int }}
dnf -y system-upgrade download --refresh --releasever={{ ensure_os_upgrade.target_version | int }}
- name: Ensure System-upgrade Reboot
when:
- ansible_facts["system"] == 'Linux'
@@ -36,7 +36,7 @@
ansible.builtin.wait_for:
connect_timeout: '5'
delay: '300'
host: '{{ (ansible_ssh_host|default(ansible_host))|default(inventory_hostname) }}'
host: '{{ (ansible_ssh_host | default(ansible_host)) | default(inventory_hostname) }}'
port: '22'
search_regex: OpenSSH
sleep: '15'