Files @ 4b964a31bd96
Branch filter:

Location: majic-ansible-roles/roles/backup_client/handlers/main.yml

branko
MAR-95: Separated configuration for backing-up the /root and /home directories in the common role. This should allow user to have better fine-grained control over what gets backed-up in the home directory. Updated role reference documentation. Updated the testsite variable configuration so the new setting can be tested.
---

- name: Clean-up GnuPG keyring for import of new keys
  shell: rm -f /etc/duply/main/gnupg/*

- name: Import private keys
  command: gpg2 --homedir /etc/duply/main/gnupg --import /etc/duply/main/private_keys.asc

- name: Import public keys
  command: gpg2 --homedir /etc/duply/main/gnupg --import /etc/duply/main/public_keys.asc
  when: backup_additional_encryption_keys