Move extra packages to all.yml

This commit is contained in:
Jesse Goerz 2018-12-28 10:44:20 -05:00
parent 5855da7510
commit 00916e8308
4 changed files with 13 additions and 1 deletions

6
.gitignore vendored
View file

@ -6,3 +6,9 @@ inventory
roles
*.retry
*.log
# Vim
[._]sw[a-p]
# Session
Session.vim

View file

@ -66,6 +66,9 @@ ansible_nas_email: me@example.com
# Applications will have subdomain SSL certificates created, eg ansible-nas.<your-domain>, nextcloud.<your-domain>
ansible_nas_domain: example.com
# Install extra packages
ansible_nas_extra_packages: ['smartmontools', 'htop', 'zfsutils-linux', 'bonnie++', 'unzip', 'lm-sensors']
###
### Docker
###

View file

@ -21,7 +21,7 @@
- name: Install some packages
apt:
name: ['smartmontools', 'htop', 'zfsutils-linux', 'bonnie++', 'unzip', 'lm-sensors']
name: "{{ ansible_nas_extra_packages }}"
state: present
register: result
until: result is succeeded

View file

@ -66,6 +66,9 @@ ansible_nas_email: me@example.com
# Applications will have subdomain SSL certificates created, eg ansible-nas.<your-domain>, nextcloud.<your-domain>
ansible_nas_domain: example.com
# Install extra packages
ansible_nas_extra_packages: ['smartmontools', 'htop', 'zfsutils-linux', 'bonnie++', 'unzip', 'lm-sensors']
###
### Docker
###