mirror of
https://github.com/geerlingguy/ansible-role-postgresql.git
synced 2025-03-10 17:26:20 -04:00
RedHat-9 Support
This commit is contained in:
parent
31676e6fc0
commit
ad136ab511
3 changed files with 14 additions and 1 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -43,6 +43,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
distro:
|
distro:
|
||||||
- rockylinux8
|
- rockylinux8
|
||||||
|
- rockylinux9
|
||||||
- centos7
|
- centos7
|
||||||
- fedora36
|
- fedora36
|
||||||
- ubuntu2204
|
- ubuntu2204
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
lc_ctype: 'C.UTF-8'
|
lc_ctype: 'C.UTF-8'
|
||||||
when:
|
when:
|
||||||
- ( ansible_distribution == 'Fedora' and ansible_distribution_major_version >= '30') or
|
- ( 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.
|
- name: Update apt cache.
|
||||||
apt: update_cache=true cache_valid_time=600
|
apt: update_cache=true cache_valid_time=600
|
||||||
|
|
12
vars/RedHat-9.yml
Normal file
12
vars/RedHat-9.yml
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue