Skip to content
Snippets Groups Projects
Unverified Commit 24e8c873 authored by micah's avatar micah :speech_balloon:
Browse files

openvpn: restart openvpn when the gateway certificate changes

If it is not restarted, the certificate is not picked up.
parent d25723bc
No related branches found
No related tags found
1 merge request!60openvpn: restart openvpn when the gateway certificate changes
Pipeline #116279 failed
......@@ -9,6 +9,12 @@
ca: "{{ credentials_dir }}/common/api_ca.crt"
ca_key: "{{ credentials_dir }}/common/api_ca.key"
- name: Restart openvpn because gateway certificate has changed
systemd:
name: docker-openvpn-openvpn.service
state: restarted
when: sspki_sign.changed
- name: Add the docker-openvpn user to the openvpn-sspki group
user:
name: docker-openvpn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment