You've already forked ansible-role-common
8 lines
210 B
YAML
8 lines
210 B
YAML
---
|
|
- name: Include tasks only if one of the files exist, otherwise skip the task
|
|
include_tasks: "{{ lookup('first_found', params) }}"
|
|
vars:
|
|
params:
|
|
files:
|
|
- '{{ ansible_os_family }}.yml'
|