trixie/cloudbox.yml

35 lines
993 B
YAML
Raw Normal View History

2018-05-31 18:32:53 +03:00
---
# This playbook deploys the cloudbox on a minimal installation.
- name: apply configuration to the cloudbox
2020-01-19 18:51:58 +01:00
hosts: all
2018-05-31 18:32:53 +03:00
remote_user: ansible
2020-01-19 18:51:58 +01:00
become: Yes
2018-05-31 18:32:53 +03:00
vars:
if_lan: "enp1s0"
ipaddr: "192.168.2.50/24"
gateway: "192.168.2.1"
DNS: "192.168.2.1"
ddns_domain: "something.ddnss.de"
ddns_updkey: "138638.some.key.here.635620"
## 'nc_download' and 'nc_checksum' are only
## used for ansible-pull during installation:
nc_download: "https://download.nextcloud.com/server/releases/latest.tar.bz2"
nc_checksum: "sha256:770faf34b8f0d81273623daed4d64ec7919c38dfeb07328b613058addbed19c0"
nc_apps:
- calendar
- notes
2020-01-19 18:51:58 +01:00
backup_opts: "--exclude-caches -e '*/updater-*/' -e '*/preview/*' -e '*/files_trashbin/*'"
backup_dirs:
- "/etc"
2020-01-19 18:51:58 +01:00
- "{{ nc_dir }}"
- "{{ data_dir }}"
2020-01-18 14:37:52 +01:00
ansible_python_interpreter: "/usr/bin/python3"
2018-05-31 18:32:53 +03:00
roles:
- up2date-debian
2020-01-18 14:37:52 +01:00
# - ddns-update
# - low-power
- nextcloud
2020-01-19 18:51:58 +01:00
- backup