From 2eae61deefabac99cfc98134dcfd4642074d5d04 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Fri, 13 Oct 2023 07:32:12 +0200 Subject: [PATCH] add support for encryption of backup with ansible_node --- roles/ansible_node/templates/playbooks/backup.yml.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/ansible_node/templates/playbooks/backup.yml.j2 b/roles/ansible_node/templates/playbooks/backup.yml.j2 index f57d7a1..9499b98 100644 --- a/roles/ansible_node/templates/playbooks/backup.yml.j2 +++ b/roles/ansible_node/templates/playbooks/backup.yml.j2 @@ -76,5 +76,15 @@ backup_remote_dir: {{ backup_remote_dir }} {% endif %} +{% if backup_file_encrypted is defined %} + backup_file_encrypted: {{ backup_file_encrypted }} +{% endif %} +{% if backup_file_encrypt_password is defined %} + backup_file_encrypt_password: {{ backup_file_encrypt_password }} +{% endif %} +{% if backup_file_encrypt_command is defined %} + backup_file_encrypt_command: {{ backup_file_encrypt_command }} +{% endif %} + roles: - alphanodes.tasks.backup