OpenVPN Ansible / Ansible Syntax Check (push) Successful in 43s
OpenVPN Ansible / Ansible Lint (push) Successful in 1m8s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Successful in 3m32s
OpenVPN Ansible / Generate SBOM (push) Successful in 55s
OpenVPN Ansible / Scan SBOM with Trivy (push) Successful in 18s
- Add a dedicated role and workflow to generate VPN JWT identities and export public keys - Run identity preparation automatically for VPN nodes awaiting OpenBao registration - Gate OpenVPN and PKI setup until each node is registered - Split PKI setup into runtime, configuration, service, and initial certificate tasks - Restore TAP and bridge attachment after OpenVPN restarts - Remove bundled server certificate and private key
20 lines
581 B
YAML
20 lines
581 B
YAML
---
|
|
- name: Install OpenVPN PKI runtime
|
|
ansible.builtin.import_tasks: runtime.yml
|
|
|
|
- name: Prepare certificate files and OpenBao configuration
|
|
ansible.builtin.import_tasks: setup.yml
|
|
|
|
- name: Install certificate lifecycle service and timer units
|
|
ansible.builtin.import_tasks: service.yml
|
|
|
|
- name: Issue certificate only when it is absent
|
|
ansible.builtin.import_tasks: initial_certificate.yml
|
|
|
|
- name: Enable and start daily certificate lifecycle timer
|
|
ansible.builtin.systemd:
|
|
name: openbao-vpn-cert.timer
|
|
enabled: true
|
|
state: started
|
|
daemon_reload: true
|