瀏覽代碼

Make use of matrix_host_command_docker instead of hardcoding

pull/740/head
Slavi Pantaleev 5 年之前
父節點
當前提交
f47e8a97e6
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      roles/matrix-postgres/tasks/util/create_additional_databases.yml

+ 1
- 2
roles/matrix-postgres/tasks/util/create_additional_databases.yml 查看文件

@@ -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…
取消
儲存