initial checkin

This commit is contained in:
Radar231 2021-07-22 23:14:57 -04:00
commit b46378df9f
2 changed files with 64 additions and 0 deletions

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# Ansible Role: rem_base_pkgs
## Introduction
This role removes the packages install in the 'base_pkgs' role. This is used
for testing the 'base_pkgs' role.

57
tasks/main.yml Normal file
View File

@ -0,0 +1,57 @@
---
###########################################################################
#
# This role removes the packages install in the 'base_pkgs' role. This is
# used for testing the 'base_pkgs' role.
#
###########################################################################
# tasks file for rem_base_pkgs
- name: Remove list of base packages (Ubuntu)
apt:
name:
- build-essential
- curl
- dnsutils
- elinks
- git
- htop
- multitail
- net-tools
- pandoc
- pylint
- python3
- python3-pip
- tmux
- tree
- vim
- vim-scripts
- wget
state: absent
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
- name: Remove 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: absent
when: ansible_distribution == "CentOS"
# EOF