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
15 lines
438 B
YAML
15 lines
438 B
YAML
---
|
|
- name: Install Python virtual environment support
|
|
ansible.builtin.apt:
|
|
name: python3-venv
|
|
state: present
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
|
|
- name: Install PyJWT and cryptography in the JWT virtual environment
|
|
ansible.builtin.pip:
|
|
name: "PyJWT[crypto]=={{ openvpn_jwt_pyjwt_version }}"
|
|
virtualenv: "{{ openvpn_jwt_virtualenv }}"
|
|
virtualenv_command: /usr/bin/python3 -m venv
|
|
state: present
|