summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgk <sgk@riseup.net>2024-02-02 14:30:59 +0530
committersgk <sgk@riseup.net>2024-02-02 14:31:39 +0530
commitcb7c24aaa5ef8a7ede982bf1739c7558e51415b2 (patch)
tree25c6ec3567e2981d1a90dd17beb11720bbe8a894
parentc6d787af527667d24631d61f7b3050d25cce8139 (diff)
remove the reduntant openvpn service restart
this was caught during the initial run, when the configs files were not copied/created configs are getting copied from 24 to 53 https://0xacab.org/leap/container-platform/lilypad/-/blob/c6d787af527667d24631d61f7b3050d25cce8139/config/roles/openvpn/tasks/credentials.yml#L24 it should be fine to run this at L55
-rw-r--r--config/roles/openvpn/tasks/credentials.yml6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/roles/openvpn/tasks/credentials.yml b/config/roles/openvpn/tasks/credentials.yml
index b7d1c26..692f100 100644
--- a/config/roles/openvpn/tasks/credentials.yml
+++ b/config/roles/openvpn/tasks/credentials.yml
@@ -9,12 +9,6 @@
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