ansible-role-openpolicyagent/tasks/main.yml
Elia El Lazkani 292ca2ef63 Second commit
2019-10-08 00:09:33 +02:00

17 lines
624 B
YAML

---
- name: Gather variables for each operating system
include_vars: "{{ item }}"
tags:
- configuration
with_first_found:
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
- "{{ ansible_distribution | lower }}.yml"
- "{{ ansible_os_family | lower }}.yml"
- include_tasks: prepare.yml
- include_tasks: install.yml
- include_tasks: configuration.yml
tags:
- configuration