Skip to content

Commit

Permalink
add support for encryption of backup with ansible_node
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Oct 13, 2023
1 parent 3cfcfb9 commit 2eae61d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roles/ansible_node/templates/playbooks/backup.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2eae61d

Please sign in to comment.