* Fix Molecule prepare for Archlinux

* remove Debian 10 (Buster) support (readed EOL)

* remove openSUSE 15.3 support (reached EOL)

* add openSUSE 15.4 to meta/main.yml

* fix ansible-lint issue in tasks/setup-debian-raspbian-buster.yml

* remove Fedora 35 support (reached EOL)

* update CHANGELOG
master 12.0.0
Robert Wimmer 2 years ago committed by GitHub
parent f6a6e4680a
commit 4631fbdc06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
# Changelog # Changelog
## 12.0.0
- remove Fedora 35 support (reached EOL)
- remove openSUSE 15.3 support (reached EOL)
- remove Debian 10 (Buster) support (readed EOL)
- fix Molecule prepare for Archlinux
- fix `ansible-lint` issue in `tasks/setup-debian-raspbian-buster.yml`
## 11.1.0 ## 11.1.0
- add support for elementary OS 6 - add support for elementary OS 6

@ -20,13 +20,11 @@ This role should work with:
- Ubuntu 20.04 (Focal Fossa) - Ubuntu 20.04 (Focal Fossa)
- Ubuntu 22.04 (Jammy Jellyfish) - Ubuntu 22.04 (Jammy Jellyfish)
- Archlinux - Archlinux
- Debian 10 (Buster)
- Debian 11 (Bullseye) - Debian 11 (Bullseye)
- Fedora 34 (or later) - Fedora 36
- CentOS 7 - CentOS 7
- AlmaLinux - AlmaLinux
- Rocky Linux - Rocky Linux
- openSUSE Leap 15.3
- openSUSE Leap 15.4 - openSUSE Leap 15.4
Best effort: Best effort:

@ -18,7 +18,6 @@ galaxy_info:
- "jammy" - "jammy"
- name: Debian - name: Debian
versions: versions:
- "buster"
- "bullseye" - "bullseye"
- name: EL - name: EL
versions: versions:
@ -27,11 +26,10 @@ galaxy_info:
- "9" - "9"
- name: Fedora - name: Fedora
versions: versions:
- "35"
- "36" - "36"
- name: opensuse - name: opensuse
versions: versions:
- "15.3" - "15.4"
galaxy_tags: galaxy_tags:
- networking - networking
- security - security

@ -37,18 +37,6 @@ platforms:
groups: groups:
- vpn - vpn
- ubuntu - ubuntu
- name: test-wg-debian10
box: generic/debian10
memory: 1024
cpus: 2
interfaces:
- auto_config: true
network_name: private_network
type: static
ip: 192.168.10.30
groups:
- vpn
- debian
- name: test-wg-fedora36 - name: test-wg-fedora36
box: generic/fedora36 box: generic/fedora36
memory: 1024 memory: 1024
@ -133,30 +121,6 @@ platforms:
groups: groups:
- vpn - vpn
- el7 - el7
- name: test-wg-opensuse-leap-15-3
box: opensuse/Leap-15.3.x86_64
memory: 1024
cpus: 2
interfaces:
- auto_config: true
network_name: private_network
type: static
ip: 192.168.10.110
groups:
- vpn
- opensuse
- name: test-wg-fedora35
box: generic/fedora35
memory: 1024
cpus: 2
interfaces:
- auto_config: true
network_name: private_network
type: static
ip: 192.168.10.120
groups:
- vpn
- fedora
- name: test-wg-rocky8-dkms - name: test-wg-rocky8-dkms
box: generic/rocky8 box: generic/rocky8
memory: 1024 memory: 1024
@ -239,12 +203,6 @@ provisioner:
wireguard_port: 51820 wireguard_port: 51820
wireguard_persistent_keepalive: "30" wireguard_persistent_keepalive: "30"
wireguard_endpoint: "192.168.10.20" wireguard_endpoint: "192.168.10.20"
test-wg-debian10:
wireguard_address: "10.10.10.30/24"
wireguard_port: 51820
wireguard_persistent_keepalive: "30"
wireguard_endpoint: "192.168.10.30"
ansible_python_interpreter: "/usr/bin/python"
test-wg-fedora36: test-wg-fedora36:
wireguard_address: "10.10.10.40/24" wireguard_address: "10.10.10.40/24"
wireguard_port: 51820 wireguard_port: 51820
@ -285,16 +243,6 @@ provisioner:
wireguard_persistent_keepalive: "30" wireguard_persistent_keepalive: "30"
wireguard_endpoint: "192.168.10.100" wireguard_endpoint: "192.168.10.100"
wireguard_centos7_installation_method: "kernel-plus" wireguard_centos7_installation_method: "kernel-plus"
test-wg-opensuse-leap-15-3:
wireguard_address: "10.10.10.110/24"
wireguard_port: 51822
wireguard_persistent_keepalive: "30"
wireguard_endpoint: "192.168.10.110"
test-wg-fedora35:
wireguard_address: "10.10.10.120/24"
wireguard_port: 51823
wireguard_persistent_keepalive: "30"
wireguard_endpoint: "192.168.10.120"
test-wg-rocky8-dkms: test-wg-rocky8-dkms:
wireguard_address: "10.10.10.130/24" wireguard_address: "10.10.10.130/24"
wireguard_port: 51820 wireguard_port: 51820

@ -17,7 +17,7 @@
- hosts: archlinux - hosts: archlinux
remote_user: vagrant remote_user: vagrant
become: true become: true
gather_facts: true gather_facts: false
tasks: tasks:
- name: Init pacman - name: Init pacman
ansible.builtin.raw: | ansible.builtin.raw: |
@ -26,6 +26,13 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
- name: Install Python
ansible.builtin.raw: |
pacman -S --noconfirm python
args:
executable: /bin/bash
changed_when: false
- hosts: proxmox - hosts: proxmox
remote_user: vagrant remote_user: vagrant
become: true become: true

@ -60,6 +60,7 @@
async: 1 async: 1
poll: 0 poll: 0
ignore_unreachable: true ignore_unreachable: true
changed_when: false
when: when:
- ansible_version.full is version('2.8.0', '<') - ansible_version.full is version('2.8.0', '<')
- wireguard__register_kernel_update is changed - wireguard__register_kernel_update is changed

@ -3,36 +3,6 @@
# Copyright (C) 2019-2020 Ties de Kock # Copyright (C) 2019-2020 Ties de Kock
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
- name: (Debian) Tasks for Debian version <= 10
when:
- ansible_distribution_major_version is version('11', '<')
block:
- name: (Debian) Add WireGuard repository on buster
ansible.builtin.apt_repository:
repo: "deb http://deb.debian.org/debian buster-backports main"
state: present
update_cache: true
- name: (Debian) Install kernel headers for the currently running kernel to compile Wireguard with DKMS
ansible.builtin.apt:
name:
- "linux-headers-{{ ansible_kernel }}"
state: present
- name: (Debian) Get architecture
ansible.builtin.command: "dpkg --print-architecture"
register: wireguard__fact_dpkg_arch
changed_when: false
check_mode: false
- name: (Debian) Install kernel headers metapackage to ensure headers will be installed
ansible.builtin.apt:
name:
- "linux-headers-{{ wireguard__fact_dpkg_arch.stdout }}"
state: present
when:
- ('-cloud-' not in ansible_kernel)
- name: (Debian) Install WireGuard packages - name: (Debian) Install WireGuard packages
ansible.builtin.apt: ansible.builtin.apt:
name: name:

Loading…
Cancel
Save