diff --git a/tasks/main.yml b/tasks/main.yml index d5a7ae9..b9916fc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -62,12 +62,12 @@ mode: "0640" backup: "{{ bareos_dir_backup_configurations }}" loop: - - src: bareos_dir_tls_ca_cert_src - dest: bareos_dir_tls_ca_cert_dest - - src: bareos_dir_tls_cert_src - dest: bareos_dir_tls_cert_dest - - src: bareos_dir_tls_cert_key_src - dest: bareos_dir_tls_cert_key_dest + - src: "{{ bareos_dir_tls_ca_cert_src }}" + dest: "{{ bareos_dir_tls_ca_cert_dest }}" + - src: "{{ bareos_dir_tls_cert_src }}" + dest: "{{ bareos_dir_tls_cert_dest }}" + - src: "{{ bareos_dir_tls_cert_key_src }}" + dest: "{{ bareos_dir_tls_cert_key_dest }}" when: - bareos_dir_tls_enable - bareos_dir_tls_ca_cert_src != ""