mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 03:38:41 +00:00
Move extra packages to all.yml
This commit is contained in:
parent
5855da7510
commit
00916e8308
4 changed files with 13 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -6,3 +6,9 @@ inventory
|
|||
roles
|
||||
*.retry
|
||||
*.log
|
||||
|
||||
# Vim
|
||||
[._]sw[a-p]
|
||||
|
||||
# Session
|
||||
Session.vim
|
||||
|
|
|
@ -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
|
||||
###
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue