openvpn: try to fix the rsync task.

This commit is contained in:
Andrea Dell'Amico 2019-02-27 19:43:07 +01:00
parent 989b26ec11
commit 5db2655652
1 changed files with 2 additions and 2 deletions

View File

@ -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: