fix: fix first_found lookup
This commit is contained in:
parent
c5f25c249c
commit
fc14afec55
@ -6,14 +6,13 @@
|
|||||||
loop: "{{ packages_uninstall_pre + packages_uninstall_pre_extra }}"
|
loop: "{{ packages_uninstall_pre + packages_uninstall_pre_extra }}"
|
||||||
|
|
||||||
- name: Include OS specific tasks
|
- name: Include OS specific tasks
|
||||||
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
ansible.builtin.include_tasks:
|
||||||
vars:
|
file: "{{ item }}"
|
||||||
params:
|
with_first_found:
|
||||||
|
- paths:
|
||||||
|
- "tasks"
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_os_family | lower }}.yml"
|
- "{{ ansible_os_family | lower }}.yml"
|
||||||
paths:
|
|
||||||
- "tasks"
|
|
||||||
errors: "ignore"
|
|
||||||
skip: True
|
skip: True
|
||||||
|
|
||||||
- name: Uninstall packages
|
- name: Uninstall packages
|
||||||
|
Loading…
Reference in New Issue
Block a user