word changes
This commit is contained in:
parent
0627ac9a8c
commit
f2e4543d1a
@ -1,17 +1,17 @@
|
|||||||
---
|
---
|
||||||
- name: Include distribution specific variables or include sane defaults
|
- name: Include distribution specific variables or include defaults
|
||||||
block:
|
block:
|
||||||
- name: Include distribution specific variables
|
- name: Include distribution specific variables
|
||||||
include_vars:
|
include_vars:
|
||||||
file: "{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml"
|
file: "{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml"
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
- name: Distribution not supported; including sane defaults...
|
- name: Non-supported distribution; including default package set
|
||||||
include_vars:
|
include_vars:
|
||||||
file: __default_packages.yml
|
file: __default_packages.yml
|
||||||
|
|
||||||
|
|
||||||
- name: "Install base packages for host"
|
- name: Install package set
|
||||||
package:
|
package:
|
||||||
name : "{{ __base_packages }}"
|
name : "{{ __base_packages }}"
|
||||||
state : present
|
state : present
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
# These defaults will cover CentOS 7, 8, 9, and Debian 10 and 11
|
# These defaults are intended to cover RHEL/Debian based systems
|
||||||
# ...of which we already have vars files for. Although intended,
|
# ...although may not be tested on your exact distribution.
|
||||||
# they may not actually match an unsupported distribution.
|
#
|
||||||
|
# Please adjust accordingly, or include a vars file matching the pattern:
|
||||||
|
# <ansible_distribution>_<ansible_distribution_major_version>.yml
|
||||||
|
|
||||||
__base_packages:
|
__base_packages:
|
||||||
- bc
|
- bc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user