diff --git a/roles/backup_client/handlers/main.yml b/roles/backup_client/handlers/main.yml index ca0240c11ba26bddaa2fc6fe4f72247098740544..d2235bc771077642d04371bc7f7543c65a7a1bcd 100644 --- a/roles/backup_client/handlers/main.yml +++ b/roles/backup_client/handlers/main.yml @@ -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"