ansible-lint cleanups
This commit is contained in:
@@ -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_podman'
|
||||
vars:
|
||||
findme:
|
||||
@@ -68,7 +68,7 @@
|
||||
- ansible_facts["distribution_major_version"] is version('32', '>=')
|
||||
- ansible_cmdline is defined
|
||||
- ansible_cmdline['systemd.unified_cgroup_hierarchy'] is defined
|
||||
shell:
|
||||
ansible.builtin.shell:
|
||||
cmd: |
|
||||
grubby --update-kernel=ALL --remove-args=systemd.unified_cgroup_hierarchy=0
|
||||
- name: 'Reboot to disable cgroups v1'
|
||||
@@ -79,8 +79,7 @@
|
||||
- ansible_facts["distribution_major_version"] is version('32', '>=')
|
||||
- ansible_cmdline is defined
|
||||
- ansible_cmdline['systemd.unified_cgroup_hierarchy'] is defined
|
||||
reboot:
|
||||
ansible.builtin.reboot:
|
||||
- name: 'flush handlers'
|
||||
meta: 'flush_handlers'
|
||||
ansible.builtin.meta: 'flush_handlers'
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user