From b844de89c480cea32db8591adbd6119c9e30519e Mon Sep 17 00:00:00 2001 From: cola-zero Date: Sun, 26 Mar 2023 04:30:06 +0900 Subject: [PATCH] Support Oracle Linux 9 (#185) * add support for Oracle Linux 9 * add Oracle Linux 9 to README.md --- README.md | 1 + molecule/kvm/molecule.yml | 17 +++++++++++++++++ tasks/setup-oraclelinux.yml | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 tasks/setup-oraclelinux.yml diff --git a/README.md b/README.md index fd5315d..ae64207 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ This role should work with: - AlmaLinux - Rocky Linux - openSUSE Leap 15.4 +- Oracle Linux 9 Best effort: diff --git a/molecule/kvm/molecule.yml b/molecule/kvm/molecule.yml index a383102..b9fc094 100644 --- a/molecule/kvm/molecule.yml +++ b/molecule/kvm/molecule.yml @@ -182,6 +182,18 @@ platforms: groups: - vpn - el9 + - name: test-wg-oracle9 + box: generic/oracle9 + memory: 1024 + cpus: 2 + interfaces: + - auto_config: true + network_name: private_network + type: static + ip: 192.168.10.180 + groups: + - vpn + - el9 provisioner: name: ansible @@ -269,6 +281,11 @@ provisioner: wireguard_port: 51820 wireguard_persistent_keepalive: "30" wireguard_endpoint: "192.168.10.170" + test-wg-oracle9: + wireguard_address: "10.10.10.180/24" + wireguard_port: 51820 + wireguard_persistent_keepalive: "30" + wireguard_endpoint: "192.168.10.180" scenario: name: kvm diff --git a/tasks/setup-oraclelinux.yml b/tasks/setup-oraclelinux.yml new file mode 100644 index 0000000..dee0c2c --- /dev/null +++ b/tasks/setup-oraclelinux.yml @@ -0,0 +1,8 @@ +--- +# Copyright (C) 2022 Masahiro Koga +# SPDX-License-Identifier: GPL-3.0-or-later + +- name: (OracleLinux) Install wireguard-tools package + ansible.builtin.yum: + name: wireguard-tools + state: present