mirror of
https://github.com/status-im/infra-role-postgres-ha.git
synced 2025-02-22 19:38: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'
|
- name: 'Restart database container'
|
||||||
when: postgres_ha_hba.changed
|
when: postgres_ha_hba.changed
|
||||||
args:
|
docker_compose:
|
||||||
chdir: '{{ postgres_ha_service_path }}'
|
project_src: '{{ postgres_ha_service_path }}'
|
||||||
command: |
|
files: '{{ postgres_ha_compose_file }}'
|
||||||
docker-compose restart db
|
restarted: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user