The openvpn_master_host is now used to find the path of the ta/dh files.
This commit is contained in:
parent
b40f1031cf
commit
0d03331fef
|
@ -114,7 +114,7 @@
|
|||
|
||||
- block:
|
||||
- name: Install the dh and ta.key files
|
||||
copy: src=/tmp/openvpn_secrets/{{ openvpn_conf_dir }}/{{ item }} dest={{ openvpn_conf_dir }}/{{ item }} owner=root group=root mode=0400 force=yes
|
||||
copy: src=/tmp/openvpn_secrets/{{ openvpn_master_host }}/{{ openvpn_conf_dir }}/{{ item }} dest={{ openvpn_conf_dir }}/{{ item }} owner=root group=root mode=0400 force=yes
|
||||
with_items:
|
||||
- 'ta.key'
|
||||
- 'dh2048.pem'
|
||||
|
|
Loading…
Reference in New Issue