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.
|
# This playbook deploys the cloudbox on a minimal installation.
|
||||||
|
|
||||||
- name: apply configuration to the cloudbox
|
- name: apply configuration to the cloudbox
|
||||||
hosts: all
|
hosts: cloudboxes
|
||||||
remote_user: ansible
|
remote_user: ansible
|
||||||
become: Yes
|
become: Yes
|
||||||
vars:
|
vars:
|
||||||
|
@ -31,4 +31,24 @@
|
||||||
# - ddns-update
|
# - ddns-update
|
||||||
# - low-power
|
# - low-power
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
- nextcloud-upgrade
|
||||||
- backup
|
- 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