|
@ -96,10 +96,18 @@ |
|
|
register: set_pub_key |
|
|
register: set_pub_key |
|
|
when: not openvpn_cert_key.stat.exists |
|
|
when: not openvpn_cert_key.stat.exists |
|
|
|
|
|
|
|
|
|
|
|
- name: copy vpn ca public key |
|
|
|
|
|
copy: |
|
|
|
|
|
src: lilik_ca_x1.pem |
|
|
|
|
|
dest: /etc/openvpn/lilik_ca_x1.pem |
|
|
|
|
|
|
|
|
- name: copy vpn ca public key |
|
|
- name: copy vpn ca public key |
|
|
copy: |
|
|
copy: |
|
|
src: lilik_ca_v1.pem |
|
|
src: lilik_ca_v1.pem |
|
|
dest: /etc/openvpn/ca.crt |
|
|
|
|
|
|
|
|
dest: /etc/openvpn/lilik_ca_v1.pem |
|
|
|
|
|
|
|
|
|
|
|
- name: create fullchain |
|
|
|
|
|
command: "cat /etc/openvpn/lilik_ca_x1.pem /etc/openvpn/lilik_ca_v1.pem > /etc/openvpn/ca.crt" |
|
|
|
|
|
|
|
|
- name: write openvpn configuration |
|
|
- name: write openvpn configuration |
|
|
template: |
|
|
template: |
|
|