Changeset - 1583d2ced08e
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-01-06 14:06:43
branko@majic.rs
MAR-148: Fix inclusion of handlers for backup_client role (use more precise path for referencing the file).
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
roles/backup_client/handlers/main.yml
Show inline comments
 
@@ -2,8 +2,12 @@
 

	
 
# Preferably we would use block here, but blocks cannot be used as
 
# handlers unfortunately.
 
# @TODO: Looks like include_tasks does not work well with relative
 
#        paths, unlike the previously used import_tasks. This should
 
#        be reported upstream, and updated if the relative inclusion
 
#        ever gets fixed.
 
- name: Clean-up GnuPG keyring for import of new keys
 
  include_tasks: cleanup_gnupg.yml
 
  include_tasks: "handlers/cleanup_gnupg.yml"
 

	
 
- name: Import private keys
 
  command: "{{ gnupg_binary }} --no-tty --homedir /etc/duply/main/gnupg --import /etc/duply/main/private_keys.asc"
0 comments (0 inline, 0 general)