[TIDY] Move to ansible_facts dict instead of injected variables
This commit is contained in:
parent
9f0226856e
commit
36455b7f76
18 changed files with 69 additions and 69 deletions
|
|
@ -4,5 +4,5 @@
|
|||
- name: Tools - Install basic utilities
|
||||
ansible.builtin.include_tasks: "{{ item }}"
|
||||
with_first_found:
|
||||
- "tools-{{ ansible_distribution }}.yml"
|
||||
- "tools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|
||||
- "tools-{{ ansible_facts['distribution'] }}.yml"
|
||||
- "tools-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue