diff --git a/tasks/configure.yml b/tasks/configure.yml index 4818197..22438ef 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -18,6 +18,15 @@ - openvpn_use_system_easyrsa - not openvpn_easyrsa_check.stat.exists +- name: Sync local keys + copy: + src: {{ openvpn_download_dir }} + dest: /etc/openvpn/keys + directory_mode: yes + owner: root + group: root + mode: 0644 + - name: Generate scripts template: src={{item}}.j2 dest={{openvpn_etcdir}}/{{item}} mode=0700 with_items: [vars, build-server.sh, build-client.sh, revoke-client.sh]