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:
Chris Hammer
2023-12-08 00:56:58 -05:00
parent d4aac73442
commit 7e758ca4f3
12 changed files with 54 additions and 42 deletions

View File

@ -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 }}"

View File

@ -9,7 +9,6 @@ __base_packages:
- ftp
- git
- htop
- ipa-client
- iperf
- iptraf
- jwhois

View File

@ -10,7 +10,6 @@ __base_packages:
- ftp
- git
- htop
- ipa-client
- iperf3
- iptraf
- lsof

View File

@ -9,7 +9,6 @@ __base_packages:
- ftp
- git
- htop
- ipa-client
- iperf3
- iptraf
- lsof

View File

@ -1,22 +0,0 @@
---
__base_packages:
- bc
- bzip2
- file
- ftp
- git
- iptraf
- mlocate
- lsof
- rsync
- sudo
- tar
- tcpdump
- telnet
- traceroute
- tree
- unzip
- wget
- whois
- zip