added support for alpine linux
This commit is contained in:
parent
7a1416e863
commit
28700ab16b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue