You've already forked ansible-role-common
Oops, trying to include tasks not vars :(
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
---
|
||||
- name: Include tasks only if one of the files exist, otherwise skip the task
|
||||
include_vars: "{{ lookup('first_found', params) }}"
|
||||
include_tasks: "{{ lookup('first_found', params) }}"
|
||||
vars:
|
||||
params:
|
||||
files:
|
||||
- '{{ ansible_os_family }}.yml'
|
||||
paths:
|
||||
- 'vars'
|
||||
|
||||
Reference in New Issue
Block a user