fix(openvpn): use old-style systemd service

This commit is contained in:
2026-09-14 18:33:44 +02:00
parent 914ac696d9
commit 34a18374a5
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ openvpn_ccd_dir: /etc/openvpn/ccd
openvpn_cert_dir: /etc/openvpn/certs openvpn_cert_dir: /etc/openvpn/certs
openvpn_service: openvpn-server@server openvpn_service: openvpn@server.service
openvpn_radius_server: 10.1.0.101 openvpn_radius_server: 10.1.0.101
openvpn_radius_auth_port: 1812 openvpn_radius_auth_port: 1812
+1 -1
View File
@@ -9,7 +9,7 @@
ansible.builtin.command: ip link show tap0 ansible.builtin.command: ip link show tap0
register: openvpn_tap_check register: openvpn_tap_check
retries: 10 retries: 10
delay: 2 delay: 10
until: openvpn_tap_check.rc == 0 until: openvpn_tap_check.rc == 0
changed_when: false changed_when: false
listen: Restart openvpn listen: Restart openvpn
+1 -1
View File
@@ -9,7 +9,7 @@
ansible.builtin.command: ip link show tap0 ansible.builtin.command: ip link show tap0
register: openvpn_tap_check register: openvpn_tap_check
retries: 10 retries: 10
delay: 2 delay: 10
until: openvpn_tap_check.rc == 0 until: openvpn_tap_check.rc == 0
changed_when: false changed_when: false
+1 -1
View File
@@ -27,5 +27,5 @@
- name: Enable OpenVPN service - name: Enable OpenVPN service
ansible.builtin.systemd: ansible.builtin.systemd:
name: openvpn@server name: "{{ openvpn_service }}"
enabled: true enabled: true