From ad136ab5119b14a3d20deda877557e31b14a4842 Mon Sep 17 00:00:00 2001 From: Juri Zirnsak Date: Tue, 30 Aug 2022 11:02:46 +0200 Subject: [PATCH] RedHat-9 Support --- .github/workflows/ci.yml | 1 + molecule/default/converge.yml | 2 +- vars/RedHat-9.yml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 vars/RedHat-9.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55a694a..818ce3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,7 @@ jobs: matrix: distro: - rockylinux8 + - rockylinux9 - centos7 - fedora36 - ubuntu2204 diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 8def2ca..837f214 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -19,7 +19,7 @@ lc_ctype: 'C.UTF-8' when: - ( ansible_distribution == 'Fedora' and ansible_distribution_major_version >= '30') or - ( ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8') + ( ansible_os_family == 'RedHat' and ansible_distribution_major_version in ['8','9']) - name: Update apt cache. apt: update_cache=true cache_valid_time=600 diff --git a/vars/RedHat-9.yml b/vars/RedHat-9.yml new file mode 100644 index 0000000..e519ea9 --- /dev/null +++ b/vars/RedHat-9.yml @@ -0,0 +1,12 @@ +--- +__postgresql_version: "10" +__postgresql_data_dir: "/var/lib/pgsql/data" +__postgresql_bin_path: "/usr/bin" +__postgresql_config_path: "/var/lib/pgsql/data" +__postgresql_daemon: postgresql +__postgresql_packages: + - postgresql + - postgresql-server + - postgresql-contrib +__postgresql_unix_socket_directories_mode: '0755' +postgresql_python_library: python3-psycopg2