Files
gitea_admin 76c82f83c1
OpenVPN Ansible / Ansible Syntax Check (push) Successful in 11s
OpenVPN Ansible / Ansible Lint (push) Successful in 18s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Failing after 1m25s
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
feat(ansible): automate NAT gateway and VPN routing
- Add NAT gateway inventory and routing playbooks.
- Update Gitea Actions and GitLab CI to validate all playbooks.
- Deploy gateway and routing configurations before OpenVPN.
- Document setup and verification steps.
2026-10-28 18:36:18 +01:00

32 lines
867 B
YAML

---
- name: Validate supported operating system and CPU architecture
ansible.builtin.assert:
that:
- ansible_distribution == 'Ubuntu'
- ansible_distribution_version == '24.04'
- ansible_architecture in ['x86_64', 'aarch64']
fail_msg: >-
vpn-node-config supports Debian-family hosts on linux/amd64 (x86_64) and
linux/arm64 (aarch64); detected {{ ansible_os_family }} /
{{ ansible_architecture }}.
- name: Update apt cache
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
update_cache_retries: 5
update_cache_retry_max_delay: 12
- name: Upgrade packages
ansible.builtin.apt:
upgrade: dist
- name: Install common packages
ansible.builtin.apt:
name: "{{ common_packages }}"
state: present
- name: Configure timezone
community.general.timezone:
name: "{{ timezone }}"