From cb7c24aaa5ef8a7ede982bf1739c7558e51415b2 Mon Sep 17 00:00:00 2001 From: sgk <sgk@riseup.net> Date: Fri, 2 Feb 2024 14:30:59 +0530 Subject: [PATCH] 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 --- config/roles/openvpn/tasks/credentials.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/roles/openvpn/tasks/credentials.yml b/config/roles/openvpn/tasks/credentials.yml index b7d1c263..692f100c 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 -- GitLab