Files @ 922cda0a1834
Branch filter:

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

branko
MAR-58: Updated roles, LDAP modules, and test site to be compatible with Ansible 2.0.x and 2.1.x. Switched from using sudo/sudo_user to become/become_user. Fixed referencing of variables within roles, mainly for with_items/with_dicts calls. Improved handling of options in ldap_entry module to avoid deprecation of passing dict-like arguments to ldap_entry module. Minor fix to ldap_permissions module.
---

- 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