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
|
||||
stat:
|
||||
path: '{{ postgresql_active_data_dir }}/.standby.signal'
|
||||
path: '{{ postgresql_active_data_dir }}/standby.signal'
|
||||
register: standby_signal_file
|
||||
|
||||
- debug:
|
||||
msg: 'Replica file: {{ postgresql_active_data_dir }}/standby.signal'
|
||||
|
||||
- name: Stop the postgresql service on deb systems
|
||||
service:
|
||||
name: postgresql
|
||||
|
|
Loading…
Reference in New Issue