Combined playbook for cloudboxes and separate (nextcloud) hosts.
This commit is contained in:
parent
ede02d4761
commit
b120a31c7d
1 changed files with 21 additions and 1 deletions
22
cloudbox.yml
22
cloudbox.yml
|
@ -2,7 +2,7 @@
|
|||
# This playbook deploys the cloudbox on a minimal installation.
|
||||
|
||||
- name: apply configuration to the cloudbox
|
||||
hosts: all
|
||||
hosts: cloudboxes
|
||||
remote_user: ansible
|
||||
become: Yes
|
||||
vars:
|
||||
|
@ -31,4 +31,24 @@
|
|||
# - ddns-update
|
||||
# - low-power
|
||||
- nextcloud
|
||||
- nextcloud-upgrade
|
||||
- backup
|
||||
|
||||
|
||||
## Hosts in the the 'only_nextcloud'-group are only upgraded:
|
||||
|
||||
- name: upgrade nextcloud only
|
||||
hosts: only_nextcloud
|
||||
remote_user: ansible
|
||||
become: Yes
|
||||
vars:
|
||||
nc_dir: "/var/www/nextcloud"
|
||||
nc_apps:
|
||||
- calendar
|
||||
- notes
|
||||
ansible_python_interpreter: "/usr/bin/python3"
|
||||
|
||||
roles:
|
||||
- up2date-debian
|
||||
- nextcloud-upgrade
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue