File tree 9 files changed +28
-18
lines changed
9 files changed +28
-18
lines changed Original file line number Diff line number Diff line change 10
10
- VAGRANT_DEFAULT_PROVIDER : libvirt
11
11
- PY_COLORS : 1
12
12
jobs :
13
- - MOLECULE_DISTRO : generic/ubuntu1804
14
- - MOLECULE_DISTRO : generic/debian10
13
+ - MOLECULE_DISTRO : generic/ubuntu2004
14
+ - MOLECULE_DISTRO : generic/debian11
15
15
16
16
cache :
17
17
directories :
Original file line number Diff line number Diff line change 5
5
6
6
Installs and configures PgPool-II for Debian/Ubuntu. The default _ running mode_ is ** streaming replication mode** .
7
7
8
+ Tested with :
9
+ - Debian 10.x :heavy_check_mark :
10
+ - Debian 11.x :heavy_check_mark :
11
+ - Ubuntu 18.04.x :heavy_check_mark :
12
+ - Ubuntu 20.04.x :heavy_check_mark :
13
+
8
14
- [ PgPool] ( #pgpool )
9
15
- [ Requirements] ( #requirements )
10
16
- [ Role Variables] ( #role-variables )
@@ -18,8 +24,8 @@ Installs and configures PgPool-II for Debian/Ubuntu. The default _running mode_
18
24
Requirements
19
25
------------
20
26
21
- Python >=3.6
22
- The role is compatible with Ansible >=2.10 but hasn't yet be tested with Ansible 3.x.
27
+ - Python >=3.8
28
+ - Ansible-core >=2.12
23
29
24
30
See [ ./requirements.txt] ( ./requirements.txt ) for detailled dependencies used to develop the role.
25
31
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ driver:
14
14
name : libvirt
15
15
platforms :
16
16
- name : pgsql01
17
- box : ${MOLECULE_DISTRO:-"generic/debian10 "}
17
+ box : ${MOLECULE_DISTRO:-"generic/debian11 "}
18
18
groups :
19
19
- pgpool
20
20
config_options :
@@ -28,7 +28,7 @@ platforms:
28
28
ip : 192.168.30.10
29
29
auto_config : true
30
30
- name : pgsql02
31
- box : ${MOLECULE_DISTRO:-"generic/debian10 "}
31
+ box : ${MOLECULE_DISTRO:-"generic/debian11 "}
32
32
config_options :
33
33
ssh.keep_alive : yes
34
34
ssh.remote_user : " 'vagrant'"
Original file line number Diff line number Diff line change 34
34
when : hostvars[item].ansible_eth1.ipv4.address is defined
35
35
loop : " {{ groups[repmgr_target_group] }}"
36
36
37
+ - name : Install acl package
38
+ apt :
39
+ name : acl
40
+
37
41
roles :
38
42
- name : fidanf.postgresql_ha
39
43
vars :
40
- repmgr_version : 5.2
41
- repmgr_version_debian : 5.2.1-1.pgdg100+1
44
+ repmgr_version : 5.3
42
45
repmgr_master : pgsql01
43
46
repmgr_target_group : pgpool
44
47
repmgr_promote_command : /usr/bin/repmgr standby promote -f /etc/repmgr.conf --log-to-file
45
48
repmgr_follow_command : /usr/bin/repmgr standby follow -f /etc/repmgr.conf --log-to-file --upstream-node-id=%n
46
49
repmgr_monitoring_history : " yes"
47
50
repmgr_connection_check_type : query
48
51
repmgr_log_level : INFO
49
- postgresql_version : 12
52
+ postgresql_version : 13
50
53
postgresql_listen_addresses : " *"
51
54
postgresql_port : 5432
52
55
postgresql_max_connections : 128
Original file line number Diff line number Diff line change 2
2
roles :
3
3
- src : https://github.com/fidanf/ansible-role-postgresql-ha
4
4
name : fidanf.postgresql_ha
5
- version : 2.4.2
5
+ version : 2.5.1
Original file line number Diff line number Diff line change 1
- ansible >= 2.10.7 , < 2.11.0
1
+ ansible
2
2
molecule
3
- molecule-vagrant == 0.6.1
4
- pyyaml < 6 ,>= 5.1
3
+ molecule-vagrant >= 1.0.0
5
4
ansible-lint
6
5
yamllint
7
6
python-vagrant
8
- docker
9
- docker-compose
10
7
netaddr
11
- dnspython
12
8
cryptography
13
9
jsondiff
10
+ pyyaml
14
11
pyOpenSSL
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ ppgool_ping_path: /bin
3
3
pgpool_if_cmd_path : /sbin
4
4
pgpool_arping_path : /usr/sbin
5
5
pgpool_systemctl_path : /bin
6
- pgpool_patch_rsyslog : true
6
+ pgpool_patch_syslog : true
Original file line number Diff line number Diff line change
1
+ ---
2
+ ppgool_ping_path : /usr/bin
3
+ pgpool_if_cmd_path : /usr/bin
4
+ pgpool_arping_path : /usr/sbin
5
+ pgpool_systemctl_path : /usr/bin
Original file line number Diff line number Diff line change @@ -3,4 +3,3 @@ ppgool_ping_path: /bin
3
3
pgpool_if_cmd_path : /sbin
4
4
pgpool_arping_path : /usr/sbin
5
5
pgpool_systemctl_path : /bin
6
- pgpool_patch_rsyslog : true
You can’t perform that action at this time.
0 commit comments