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