chore: fix ansible-lint violations and add pre-commit hooks

This commit is contained in:
2026-06-15 15:43:22 +02:00
parent 5e6d4c1479
commit 499c8bbde5
32 changed files with 102 additions and 64 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
---
- name: Deploy OpenVPN configuration
template:
ansible.builtin.template:
src: server.conf.j2
dest: /etc/openvpn/server/server.conf
owner: root
@@ -9,7 +9,7 @@
notify: restart openvpn
- name: Deploy Radius configuration
template:
ansible.builtin.template:
src: radiusplugin.cnf.j2
dest: /etc/openvpn/radiusplugin.cnf
owner: root
@@ -18,7 +18,7 @@
notify: restart openvpn
- name: Deploy client-connect script
copy:
ansible.builtin.copy:
src: client-connect.sh
dest: /etc/openvpn/scripts/client-connect.sh
owner: root
@@ -26,6 +26,6 @@
mode: "0755"
- name: Enable OpenVPN service
systemd:
ansible.builtin.systemd:
name: openvpn@server
enabled: true
enabled: true