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
+6 -7
View File
@@ -3,8 +3,8 @@
- name: 'include vendor / version specific tasks'
when:
- ansible_facts["system"] == 'Linux'
include_tasks:
file: '{{ lookup("first_found", findme ) }}'
ansible.builtin.include_tasks:
file: '{{ lookup("first_found", findme) }}'
vars:
findme:
files:
@@ -13,14 +13,14 @@
- '{{ ansible_facts["distribution"] }}-default.yml'
- '{{ ansible_facts["os_family"] }}-{{ ansible_facts["distribution_major_version"] }}-{{ ansible_facts["architecture"] }}.yml'
- '{{ ansible_facts["os_family"] }}-{{ ansible_facts["distribution_major_version"] }}-default.yml'
- '{{ ansible_facts["os_family"]}}-default.yml'
- '{{ ansible_facts["os_family"] }}-default.yml'
- 'default.yml'
errors: 'ignore'
- name: 'include vendor / version specific variables'
when:
- ansible_facts["system"] == 'Linux'
include_vars:
file: '{{ lookup("first_found", findme ) }}'
ansible.builtin.include_vars:
file: '{{ lookup("first_found", findme) }}'
name: 'ensure_ansible_prereq'
vars:
findme:
@@ -102,6 +102,5 @@
- 'ensure_ansible_prereq.package_facts'
- 'ensure_ansible_prereq.service_facts'
- name: 'flush handlers'
meta: 'flush_handlers'
ansible.builtin.meta: 'flush_handlers'
...