Fix the path of the active.standby file.
This commit is contained in:
parent
f52f810ce2
commit
50e8e57c33
|
@ -111,9 +111,12 @@
|
||||||
|
|
||||||
- name: Check if a replica is already enabled
|
- name: Check if a replica is already enabled
|
||||||
stat:
|
stat:
|
||||||
path: '{{ postgresql_active_data_dir }}/.standby.signal'
|
path: '{{ postgresql_active_data_dir }}/standby.signal'
|
||||||
register: standby_signal_file
|
register: standby_signal_file
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: 'Replica file: {{ postgresql_active_data_dir }}/standby.signal'
|
||||||
|
|
||||||
- name: Stop the postgresql service on deb systems
|
- name: Stop the postgresql service on deb systems
|
||||||
service:
|
service:
|
||||||
name: postgresql
|
name: postgresql
|
||||||
|
|
Loading…
Reference in New Issue