ansible-role-openpolicyagent/tasks/main.yml

18 lines
624 B
YAML
Raw Permalink Normal View History

2019-10-07 22:09:33 +00:00
---
- 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