mirror of
https://github.com/status-im/infra-role-postgres-ha.git
synced 2025-02-22 03:18:13 +00:00
hba: use docker_compose task to restart
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
35568e2e41
commit
716732b18b
@ -16,7 +16,7 @@
|
||||
|
||||
- name: 'Restart database container'
|
||||
when: postgres_ha_hba.changed
|
||||
args:
|
||||
chdir: '{{ postgres_ha_service_path }}'
|
||||
command: |
|
||||
docker-compose restart db
|
||||
docker_compose:
|
||||
project_src: '{{ postgres_ha_service_path }}'
|
||||
files: '{{ postgres_ha_compose_file }}'
|
||||
restarted: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user