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…
Reference in New Issue