mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-08-14 19:01:32 +02:00
Remove hardcoded command paths in playbook shell usage
This commit is contained in:
roles
matrix-base
defaults
matrix-bridge-appservice-discord
tasks
matrix-bridge-appservice-irc
tasks
matrix-nginx-proxy
matrix-postgres
matrix-synapse
@@ -79,7 +79,7 @@
|
||||
# we need to remove these from the dump, or we'll get errors saying these already exist.
|
||||
- name: Perform Postgres database dump
|
||||
command: >-
|
||||
/usr/bin/docker run --rm --name matrix-postgres-dump
|
||||
{{ matrix_host_command_docker }} run --rm --name matrix-postgres-dump
|
||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
|
||||
--network={{ matrix_docker_network }}
|
||||
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql
|
||||
@@ -123,7 +123,7 @@
|
||||
- name: Generate Postgres database import command
|
||||
set_fact:
|
||||
matrix_postgres_import_command: >-
|
||||
/usr/bin/docker run --rm --name matrix-postgres-import
|
||||
{{ matrix_host_command_docker }} run --rm --name matrix-postgres-import
|
||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
|
||||
--cap-drop=ALL
|
||||
--network={{ matrix_docker_network }}
|
||||
|
Reference in New Issue
Block a user