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.
This commit is contained in:
@ -3,7 +3,8 @@
|
||||
block:
|
||||
- name: Include distribution specific variables
|
||||
include_vars:
|
||||
file: "{{ ansible_distribution | regex_replace('\\s+', '_') | lower }}_{{ ansible_distribution_major_version }}.yml"
|
||||
file: "{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml"
|
||||
|
||||
|
||||
rescue:
|
||||
- name: Non-supported distribution; using default package set
|
||||
@ -11,6 +12,14 @@
|
||||
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 }}"
|
||||
|
Reference in New Issue
Block a user