forked from inofix/common-playbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-basic.yml
53 lines (47 loc) · 1.28 KB
/
install-basic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#* This playbook wrapps the apt (and others maybe in the future..) module
#* to install software considered basic here - i.e. to be installed on every
#* host (non minimal/embedded..). It is the first one in the row and thus
#* has no dependencies.
#* Use '-a' to pass parameters to ansible (as '-e'). See ansible fetch for
#* details.
#* No arguments are mandatory.
- import_playbook: add-admins.yml
- import_playbook: install-fail2ban.yml
- import_playbook: deploy-accounts-store.yml
- import_playbook: install-ssh.yml
- import_playbook: install-terminal-mux.yml
- hosts: app.basics
become: true
roles:
- inofix.yapkg
- install-vim
vars:
- yapkg__task_group_name: 'basic software'
- yapkg__names:
- 'apt-show-versions'
- 'cron-apt'
- 'gawk'
- 'git'
- 'htop'
- 'iotop'
- 'less'
- 'lsb-release'
- 'nmon'
- 'strace'
- 'xml2'
- hosts: app.ntpdate
become: true
roles:
- inofix.yapkg
vars:
- yapkg__task_group_name: 'basic software'
- yapkg__names:
- 'ntpdate'
- 'ntp'
# not enabling this yet, as it only tracks 'today'
# it is only useful for human communication and needs
# to be combined with something smarter as
# dpkg --get-selections
#- hosts: all
# roles:
# - track-packages