The openvpn_master_host is now used to find the path of the ta/dh files.

This commit is contained in:
Andrea Dell'Amico 2020-05-06 18:25:00 +02:00
parent b40f1031cf
commit 0d03331fef
1 changed files with 1 additions and 1 deletions

View File

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