mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
Make use of matrix_host_command_docker instead of hardcoding
This commit is contained in:
parent
d251764c16
commit
f47e8a97e6
@ -1,7 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Retrieve IP of postgres container
|
||||
shell: "docker inspect matrix-postgres | jq -r '.[0].NetworkSettings.Networks.{{ matrix_docker_network }}.IPAddress'"
|
||||
shell: "{{ matrix_host_command_docker }} inspect matrix-postgres | jq -r '.[0].NetworkSettings.Networks.{{ matrix_docker_network }}.IPAddress'"
|
||||
register: matrix_postgres_container_ip
|
||||
|
||||
- name: Create additional users in postgres
|
||||
|
Loading…
Reference in New Issue
Block a user