--- - 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 }}"