OpenVPN Ansible / Ansible Syntax Check (push) Successful in 5s
OpenVPN Ansible / Ansible Lint (push) Successful in 15s
OpenVPN Ansible / Deploy OpenVPN (push) Failing after 1m27s
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
30 lines
802 B
YAML
30 lines
802 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
|
|
|
|
- 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 }}"
|