openvpn: try to fix the rsync task.
This commit is contained in:
parent
989b26ec11
commit
5db2655652
|
@ -103,13 +103,13 @@
|
||||||
- name: Get the dh file from the master host
|
- name: Get the dh file from the master host
|
||||||
synchronize:
|
synchronize:
|
||||||
src: '{{ openvpn_conf_dir }}/dh2048.pem'
|
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 }}'
|
delegate_to: '{{ openvpn_master_host }}'
|
||||||
|
|
||||||
- name: Get the ta key from the master host
|
- name: Get the ta key from the master host
|
||||||
synchronize:
|
synchronize:
|
||||||
src: '{{ openvpn_conf_dir }}/ta.key'
|
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 }}'
|
delegate_to: '{{ openvpn_master_host }}'
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue