now using "packages" role

This commit is contained in:
nd 2019-05-17 00:43:18 +02:00
parent 8c485daf26
commit 77d73a1693
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
4 changed files with 46 additions and 48 deletions

View file

@ -1,43 +0,0 @@
---
packages:
aptitude: {}
"apt-transport-https": {}
bsdtar: {}
bzip2: {}
curl: {}
dnsutils: {}
file: {}
git: {}
haveged: {}
htop: {}
iftop: {}
iotop: {}
less: {}
"locales-all": {}
lsof: {}
mailutils: {}
members: {}
mksh: {}
"molly-guard": {}
mosh: {}
mtr: {}
ncdu: {}
"ncurses-term": {}
"net-tools": {}
nmap: {}
pciutils: {}
pv: {}
python3: {}
rsync: {}
screen: {}
sshfs: {}
sudo: {}
sysstat: {}
tcpdump: {}
tmux: {}
tree: {}
usbutils: {}
vim: {}
vnstat: {}
"xz-utils": {}
zsh: {}

2
meta/main.yml Normal file
View file

@ -0,0 +1,2 @@
dependencies:
- { role: packages }

View file

@ -1,9 +1,4 @@
---
- name: install basic packages
apt:
pkg: "{{ packages | dict2items | rejectattr('value', 'none') | map(attribute='key') | list }}"
update_cache: yes
- name: copy environment
copy:
src: dotfiles/environment

44
vars/main.yml Normal file
View file

@ -0,0 +1,44 @@
packages:
pkg:
aptitude: {}
"apt-transport-https": {}
bsdtar: {}
bzip2: {}
curl: {}
dnsutils: {}
file: {}
git: {}
haveged: {}
htop: {}
iftop: {}
iotop: {}
less: {}
"locales-all": {}
lsof: {}
mailutils: {}
members: {}
mksh: {}
"molly-guard": {}
mosh: {}
mtr: {}
ncdu: {}
"ncurses-term": {}
"net-tools": {}
nmap: {}
pciutils: {}
pv: {}
python3: {}
rsync: {}
screen: {}
sshfs: {}
sudo: {}
sysstat: {}
tcpdump: {}
tmux: {}
tree: {}
usbutils: {}
"vim": {}
vnstat: {}
"xz-utils": {}
zsh: {}