Make backups local to hosts

This actually allows for host-specific changes
This commit is contained in:
Salt 2020-05-06 02:18:52 -05:00
parent 54d3aadb14
commit d270baed62

View File

@ -5,7 +5,6 @@
roles:
- common
- user
- backups
- hosts: tag_www_true
vars:
mysql_root_password: !vault |
@ -15,12 +14,14 @@
65323365313465316635646465376665616132653832316362363535366563363863636530313666
3036393134386131310a643734363261633166636263343538313533393738323934303137343163
39636637643035616236663364663562366133613233313139623937313531343564
backups_outdir: "/cold/backups"
acme_directory: "https://acme-v02.api.letsencrypt.org/directory"
#acme_directory: "https://acme-staging-v02.api.letsencrypt.org/directory"
acme_version: 2
acme_webroot: "/var/www/acme"
roles:
- role: backups
vars:
backups_outdir: "/cold/backups"
- role: gitea
vars:
gitea_mysql_password: !vault |
@ -73,6 +74,7 @@
nextcloud_webroot: "/var/www/nextcloud"
- hosts: tag_minecraft_ultreload
roles:
- role: backups
- role: minecraft
vars:
mcname: "ftbult-reloaded-smp"