Monty Taylor 67212c3ef2 Clean up base playbook
We're going to try using this in some other organizations, so
simplify thing.

Add in a flush handlers so that we don't have to split plays.
Remove kubernetes group, this isn't actually a thing right now.

Change-Id: I26b21aa8ffca1ac5112136831aa7664d5c3becac
2020-05-27 16:28:37 -05:00

11 lines
278 B
YAML

- name: Set up additional repos
include_tasks: "{{ item }}"
vars:
params:
files:
- "{{ ansible_facts.distribution }}.yaml"
- "{{ ansible_facts.os_family }}.yaml"
loop: "{{ query('first_found', params, errors='ignore') }}"
- meta: flush_handlers