word changes

This commit is contained in:
Chris Hammer 2022-03-18 20:05:40 -04:00
parent 0627ac9a8c
commit f2e4543d1a
2 changed files with 8 additions and 6 deletions

View File

@ -1,17 +1,17 @@
---
- name: Include distribution specific variables or include sane defaults
- 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: Distribution not supported; including sane defaults...
- name: Non-supported distribution; including default package set
include_vars:
file: __default_packages.yml
- name: "Install base packages for host"
- name: Install package set
package:
name : "{{ __base_packages }}"
state : present

View File

@ -1,7 +1,9 @@
---
# These defaults will cover CentOS 7, 8, 9, and Debian 10 and 11
# ...of which we already have vars files for. Although intended,
# they may not actually match an unsupported distribution.
# These defaults are intended to cover RHEL/Debian based systems
# ...although may not be tested on your exact distribution.
#
# Please adjust accordingly, or include a vars file matching the pattern:
# <ansible_distribution>_<ansible_distribution_major_version>.yml
__base_packages:
- bc