ansible-lint cleanups
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user