initial checkin
This commit is contained in:
commit
b46378df9f
|
@ -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.
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue