From 3b303e49409e027feb3cb6a800d5a6a161b1ed7f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 1 Oct 2023 16:47:06 +0100 Subject: [PATCH] Deploy db-auto-backup to dokku It might have DBs somewhen --- ansible/host_vars/pve-dokku.yml | 1 - ansible/host_vars/pve-dokku/main.yml | 3 +++ ansible/host_vars/pve-dokku/vault.yml | 9 +++++++++ ansible/main.yml | 1 + 4 files changed, 13 insertions(+), 1 deletion(-) delete mode 100644 ansible/host_vars/pve-dokku.yml create mode 100644 ansible/host_vars/pve-dokku/main.yml create mode 100644 ansible/host_vars/pve-dokku/vault.yml diff --git a/ansible/host_vars/pve-dokku.yml b/ansible/host_vars/pve-dokku.yml deleted file mode 100644 index 6e9b907..0000000 --- a/ansible/host_vars/pve-dokku.yml +++ /dev/null @@ -1 +0,0 @@ -ssh_extra_allowed_users: dokku diff --git a/ansible/host_vars/pve-dokku/main.yml b/ansible/host_vars/pve-dokku/main.yml new file mode 100644 index 0000000..b3dec9f --- /dev/null +++ b/ansible/host_vars/pve-dokku/main.yml @@ -0,0 +1,3 @@ +ssh_extra_allowed_users: dokku + +db_backups_dir: /mnt/tank/files/db-backups diff --git a/ansible/host_vars/pve-dokku/vault.yml b/ansible/host_vars/pve-dokku/vault.yml new file mode 100644 index 0000000..7623de9 --- /dev/null +++ b/ansible/host_vars/pve-dokku/vault.yml @@ -0,0 +1,9 @@ +$ANSIBLE_VAULT;1.1;AES256 +38396636313062623661613537386337356130353839303930346333313062383935353932336230 +6637666434356666346361663131343962663963333638630a376631313531633865396566643032 +31323866386236356639306333393765616630363734326662366632656430323739306439366634 +3364666662623764630a353532373433616365383862633935373332663933386561316262633662 +37366233326439336535623339366565653732646434386639336533386261306238306630396638 +30633433636365663538656338303066353830626137613038323462353137326234356533323335 +39643832636466643864663737316239626161653833343633306435363636663264303165303334 +36383661316566316630 diff --git a/ansible/main.yml b/ansible/main.yml index 30a1ba1..a5b27ef 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -46,6 +46,7 @@ - pve-docker - forrest - walker + - pve-dokku roles: - db_auto_backup