mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +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
|
roles
|
||||||
*.retry
|
*.retry
|
||||||
*.log
|
*.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>
|
# Applications will have subdomain SSL certificates created, eg ansible-nas.<your-domain>, nextcloud.<your-domain>
|
||||||
ansible_nas_domain: example.com
|
ansible_nas_domain: example.com
|
||||||
|
|
||||||
|
# Install extra packages
|
||||||
|
ansible_nas_extra_packages: ['smartmontools', 'htop', 'zfsutils-linux', 'bonnie++', 'unzip', 'lm-sensors']
|
||||||
|
|
||||||
###
|
###
|
||||||
### Docker
|
### Docker
|
||||||
###
|
###
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- name: Install some packages
|
- name: Install some packages
|
||||||
apt:
|
apt:
|
||||||
name: ['smartmontools', 'htop', 'zfsutils-linux', 'bonnie++', 'unzip', 'lm-sensors']
|
name: "{{ ansible_nas_extra_packages }}"
|
||||||
state: present
|
state: present
|
||||||
register: result
|
register: result
|
||||||
until: result is succeeded
|
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>
|
# Applications will have subdomain SSL certificates created, eg ansible-nas.<your-domain>, nextcloud.<your-domain>
|
||||||
ansible_nas_domain: example.com
|
ansible_nas_domain: example.com
|
||||||
|
|
||||||
|
# Install extra packages
|
||||||
|
ansible_nas_extra_packages: ['smartmontools', 'htop', 'zfsutils-linux', 'bonnie++', 'unzip', 'lm-sensors']
|
||||||
|
|
||||||
###
|
###
|
||||||
### Docker
|
### Docker
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue