From 062b97eeb0f7efc8cea4810af4fcc3df4c67d99e Mon Sep 17 00:00:00 2001 From: Vlad Date: Sun, 26 Mar 2023 11:23:57 -0500 Subject: [PATCH] Improve RedHat support (#54) --- .github/workflows/test.yml | 3 ++- roles/server/meta/main.yml | 13 ++++++++++++- roles/server/vars/os_RedHat.yml | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e67e3c1..649c537 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,9 +44,10 @@ jobs: - ubuntu2004 - debian11 - debian10 - - centos8 - fedora36 - fedora37 + - rockylinux8 + - rockylinux9 scenario: ${{ fromJSON(needs.changes.outputs.scenario) }} steps: - name: Checkout diff --git a/roles/server/meta/main.yml b/roles/server/meta/main.yml index b219872..e4140f6 100644 --- a/roles/server/meta/main.yml +++ b/roles/server/meta/main.yml @@ -1,6 +1,6 @@ --- galaxy_info: - author: Bert Van Vreckem + author: Vlad Ghinea and Bert Van Vreckem description: This role installs and configures Samba as a file server. license: BSD min_ansible_version: '2.11' @@ -13,6 +13,17 @@ galaxy_info: versions: - bullseye - buster + - name: Fedora + versions: + - '36' + - '37' + - name: EL + versions: + - '8' + - '9' + - name: ArchLinux + versions: + - all galaxy_tags: - system - networking diff --git a/roles/server/vars/os_RedHat.yml b/roles/server/vars/os_RedHat.yml index 55bc115..b299f83 100644 --- a/roles/server/vars/os_RedHat.yml +++ b/roles/server/vars/os_RedHat.yml @@ -8,7 +8,7 @@ samba_packages: samba_vfs_packages: [] samba_selinux_packages: - - libsemanage-python + - python3-libsemanage samba_selinux_booleans: - samba_enable_home_dirs