trixie/cloudbox.yml

31 lines
723 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_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