Skip to content

Commit 387320b

Browse files
authored
Merge pull request #587 from MrMegaNova/master
Update ansible on workflow
2 parents 176b474 + 05f51b6 commit 387320b

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
strategy:
4545
matrix:
4646
include:
47-
- distro: rockylinux8
48-
- distro: rockylinux9
47+
# - distro: rockylinux8
48+
# - distro: rockylinux9
4949
- distro: debian11
5050
- distro: debian12
5151
- distro: ubuntu2004
@@ -64,7 +64,7 @@ jobs:
6464
python-version: '3.x'
6565

6666
- name: Install test dependencies.
67-
run: pip3 install "ansible>9,<10" molecule molecule-plugins[docker] docker
67+
run: pip3 install "ansible>10,<12" molecule molecule-plugins[docker] docker
6868

6969
- name: Run Molecule tests.
7070
run: molecule -v test

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Icon
88
.vagrant
99
test
1010
*.retry
11+
ANXS-postgresql.code-workspace

defaults/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ postgresql_ident_file: "{{ postgresql_conf_directory }}/pg_ident.conf"
111111
postgresql_varlib_directory_name: "postgresql"
112112
postgresql_data_directory: "/var/lib/{{ postgresql_varlib_directory_name }}/{{ postgresql_version }}/{{ postgresql_cluster_name }}"
113113
postgresql_wal_directory: ""
114+
postgresql_wal_segsize: ""
114115
postgresql_pid_directory: "/var/run/postgresql"
115116
# If external_pid_file is not explicitly set, on extra PID file is written
116117
postgresql_external_pid_file: "{{ postgresql_pid_directory }}/{{ postgresql_version }}-{{ postgresql_cluster_name }}.pid"

tasks/configure.yml

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
{% if postgresql_pwfile != "" %}--pwfile={{ postgresql_pwfile }} {% endif %}
117117
{% if postgresql_wal_directory != "" and postgresql_version is version_compare('10', '<') %}--xlogdir={{ postgresql_wal_directory }} {% endif %}
118118
{% if postgresql_wal_directory != "" and postgresql_version is version_compare('10', '>=') %}--waldir={{ postgresql_wal_directory }} {% endif %}
119+
{% if postgresql_wal_segsize != "" and postgresql_version is version_compare('11', '>=') %}--wal-segsize={{ postgresql_wal_segsize }} {% endif %}
119120
become: yes
120121
become_user: "{{ postgresql_service_user }}"
121122
when: ansible_os_family == "RedHat" and

0 commit comments

Comments
 (0)