diff --git a/roles/copr/certbot/tasks/letsencrypt.yml b/roles/copr/certbot/tasks/letsencrypt.yml index f5e1f09ac3..fc6641cdfc 100644 --- a/roles/copr/certbot/tasks/letsencrypt.yml +++ b/roles/copr/certbot/tasks/letsencrypt.yml @@ -140,12 +140,11 @@ tags: certbot -- name: backup the letsencrypt data files to backup host +- name: backup the letsencrypt certs to batcave directory synchronize: src: "{{ le_source_path }}" dest: "{{ le_backup_path }}/{{ item.key }}" mode: pull - delegate_to: "{{ letsencrypt.backup_to }}" with_dict: "{{ letsencrypt.certificates }}" when: - letsencrypt.backup_to is defined