Chris Hammer 7e758ca4f3 its been a while since i've worked on this
and it seems there were many changes left
uncommitted. i have no idea what state this is in
but we will refactor or start over from this point.
2023-12-08 00:56:58 -05:00

30 lines
674 B
YAML

---
- name: Include distribution specific variables or include defaults
block:
- name: Include distribution specific variables
include_vars:
file: "{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml"
rescue:
- name: Non-supported distribution; using default package set
include_vars:
file: __default_packages.yml
- name: Install EPEL for CentOS hosts - Required for some of our packages
package:
name : epel-release
state : present
when:
- ansible_distribution | lower == 'centos'
- name: Install package set
package:
name : "{{ __base_packages }}"
state : present
...