added support for alpine linux

This commit is contained in:
Radar231 2022-01-03 06:23:44 -05:00
parent 7a1416e863
commit 28700ab16b
1 changed files with 18 additions and 7 deletions

View File

@ -4,9 +4,6 @@
# 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
@ -36,6 +33,24 @@
state: latest
when: ansible_os_family == "Debian"
- name: Installed desired list of base packages (Alpine)
apk:
name:
- bind-tools
- curl
- elinks
- git
- htop
- net-tools
- python3
- py3-pip
- tmux
- tree
- vim
- wget
state: latest
when: ansible_distribution == "Alpine"
- name: Installed desired list of base packages (CentOS)
yum:
name:
@ -43,13 +58,9 @@
- curl
- elinks
- git
# - htop
# - multitail
- less
- man
- net-tools
# - pandoc
# - pylint
- python3
- python3-pip
- tmux