diff --git a/openvpn/tasks/openvpn.yml b/openvpn/tasks/openvpn.yml index c2075e54..41551471 100644 --- a/openvpn/tasks/openvpn.yml +++ b/openvpn/tasks/openvpn.yml @@ -103,13 +103,13 @@ - name: Get the dh file from the master host synchronize: src: '{{ openvpn_conf_dir }}/dh2048.pem' - dest: rsync://root@{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/dh2048.pem + dest: 'rsync://root@{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/dh2048.pem' delegate_to: '{{ openvpn_master_host }}' - name: Get the ta key from the master host synchronize: src: '{{ openvpn_conf_dir }}/ta.key' - dest: rsync://root@{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/ta.key + dest: 'rsync://root@{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/ta.key' delegate_to: '{{ openvpn_master_host }}' when: