mirror of
https://github.com/inofix/common-playbooks.git
synced 2026-02-05 12:45:29 +01:00
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
#* 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'
|
|
- 'rsync'
|
|
- '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
|
|
|