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_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'
...