Compare commits
7 Commits
8861048695
...
a7723eb017
Author | SHA1 | Date |
---|---|---|
Jeff Geerling | a7723eb017 | |
Jeff Geerling | 3b721b124d | |
Jeff Geerling | 01ccdb0907 | |
Jeff Geerling | e08acbf93c | |
jkress | 7b81446625 | |
jkress | 7d7e2a26d8 | |
Albert Nazaretyan | 35d176c8e3 |
|
@ -44,12 +44,11 @@ jobs:
|
|||
distro:
|
||||
- rockylinux8
|
||||
- rockylinux9
|
||||
- fedora36
|
||||
- fedora38
|
||||
- ubuntu2204
|
||||
- ubuntu2004
|
||||
- ubuntu1804
|
||||
- debian10
|
||||
- debian11
|
||||
- debian12
|
||||
|
||||
steps:
|
||||
- name: Check out the codebase.
|
||||
|
|
|
@ -19,13 +19,11 @@ galaxy_info:
|
|||
- 9
|
||||
- name: Fedora
|
||||
versions:
|
||||
- 30
|
||||
- 31
|
||||
- 32
|
||||
- 33
|
||||
- 34
|
||||
- 35
|
||||
- 36
|
||||
- 37
|
||||
- 38
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- xenial
|
||||
|
@ -34,11 +32,9 @@ galaxy_info:
|
|||
- jammy
|
||||
- name: Debian
|
||||
versions:
|
||||
- wheezy
|
||||
- jessie
|
||||
- stretch
|
||||
- buster
|
||||
- bullseye
|
||||
- bookworm
|
||||
galaxy_tags:
|
||||
- database
|
||||
- postgresql
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
- name: Include OS-specific variables (RedHat).
|
||||
include_vars: "{{ ansible_os_family }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution != 'Fedora'
|
||||
- ansible_distribution != 'Amazon'
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution != 'Fedora'
|
||||
- ansible_distribution != 'Amazon'
|
||||
|
||||
- name: Include OS-specific variables (Amazon).
|
||||
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
|
|
|
@ -3,7 +3,7 @@ __postgresql_version: "13"
|
|||
__postgresql_data_dir: "/var/lib/postgresql/{{ __postgresql_version }}/main"
|
||||
__postgresql_bin_path: "/usr/lib/postgresql/{{ __postgresql_version }}/bin"
|
||||
__postgresql_config_path: "/etc/postgresql/{{ __postgresql_version }}/main"
|
||||
__postgresql_daemon: "postgresql@{{ postgresql_version }}-main"
|
||||
__postgresql_daemon: "postgresql@{{ __postgresql_version }}-main"
|
||||
__postgresql_packages:
|
||||
- postgresql
|
||||
- postgresql-contrib
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
__postgresql_version: "9.4"
|
||||
__postgresql_version: "15"
|
||||
__postgresql_data_dir: "/var/lib/postgresql/{{ __postgresql_version }}/main"
|
||||
__postgresql_bin_path: "/usr/lib/postgresql/{{ __postgresql_version }}/bin"
|
||||
__postgresql_config_path: "/etc/postgresql/{{ __postgresql_version }}/main"
|
||||
|
@ -8,3 +8,4 @@ __postgresql_packages:
|
|||
- postgresql
|
||||
- postgresql-contrib
|
||||
- libpq-dev
|
||||
postgresql_python_library: python3-psycopg2
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
__postgresql_version: "9.1"
|
||||
__postgresql_data_dir: "/var/lib/postgresql/{{ __postgresql_version }}/main"
|
||||
__postgresql_bin_path: "/usr/lib/postgresql/{{ __postgresql_version }}/bin"
|
||||
__postgresql_config_path: "/etc/postgresql/{{ __postgresql_version }}/main"
|
||||
__postgresql_daemon: postgresql
|
||||
__postgresql_packages:
|
||||
- postgresql
|
||||
- postgresql-contrib
|
||||
- libpq-dev
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
__postgresql_version: "10.5"
|
||||
__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-libs
|
||||
postgresql_python_library: python2-psycopg2
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
__postgresql_version: "11.2"
|
||||
__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-libs
|
||||
# Fedora 30 containers only have python3 by default
|
||||
postgresql_python_library: python3-psycopg2
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
__postgresql_version: "12.2"
|
||||
__postgresql_version: "14.3"
|
||||
__postgresql_data_dir: "/var/lib/pgsql/data"
|
||||
__postgresql_bin_path: "/usr/bin"
|
||||
__postgresql_config_path: "/var/lib/pgsql/data"
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
__postgresql_version: "11.5"
|
||||
__postgresql_version: "15.1"
|
||||
__postgresql_data_dir: "/var/lib/pgsql/data"
|
||||
__postgresql_bin_path: "/usr/bin"
|
||||
__postgresql_config_path: "/var/lib/pgsql/data"
|
||||
|
@ -10,5 +10,5 @@ __postgresql_packages:
|
|||
- postgresql-contrib
|
||||
- postgresql-libs
|
||||
__postgresql_unix_socket_directories_mode: '0755'
|
||||
# Fedora 31 containers only have python3 by default
|
||||
# Fedora 32 containers only have python3 by default
|
||||
postgresql_python_library: python3-psycopg2
|
Loading…
Reference in New Issue