Files
ansible-role-common/tasks/main.yml

9 lines
227 B
YAML
Raw Normal View History

2016-06-29 12:34:37 +12:00
---
- 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'
2022-03-13 22:07:49 +13:00
skip: true