initial checkin

This commit is contained in:
Radar231 2021-07-22 23:14:54 -04:00
commit 0acdbfb263
2 changed files with 73 additions and 0 deletions

10
README.md Normal file
View File

@ -0,0 +1,10 @@
# Ansible Role: base_pkgs
## Introduction
This role will install a selected set of packages as a desired baseline
package collection.
There is a separate (but as similar as possible) package list for
Ubuntu and CentOS based hosts.

63
tasks/main.yml Normal file
View File

@ -0,0 +1,63 @@
---
###########################################################
#
# This role will install a selected set of packages as a desired baseline
# package collection.
#
# There is a separate (but as similar as possible) package list for
# Ubuntu and CentOS based hosts.
#
###########################################################
# tasks file for base_pkgs
- debug: msg="Installing desired list of base packages"
- name: Installed desired list of base packages (Ubuntu)
apt:
name:
- build-essential
- conspy
- curl
- dnsutils
- elinks
- git
- htop
- multitail
- net-tools
- pandoc
- pylint
- python3
- python3-pip
- tmux
- tree
- vim
- vim-scripts
- wget
state: latest
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
- name: Installed desired list of base packages (CentOS)
yum:
name:
- bind-utils
- curl
- elinks
- git
# - htop
# - multitail
- less
- man
- net-tools
# - pandoc
# - pylint
- python3
- python3-pip
- tmux
- tree
- vim
- vim-enhanced
- wget
state: latest
when: ansible_distribution == "CentOS"
# EOF