Remove hardcoded command paths in playbook shell usage

This commit is contained in:
Chris van Dijk
2020-05-27 22:18:24 +02:00
parent 6334f6c1ea
commit 6e3b877dc2
9 changed files with 12 additions and 11 deletions

View File

@ -60,7 +60,7 @@
# We intentionally suppress Ansible changes.
- name: Generate AppService Discord invite link
shell: >-
/usr/bin/docker run --rm --name matrix-appservice-discord-link-gen
{{ matrix_host_command_docker }} run --rm --name matrix-appservice-discord-link-gen
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--cap-drop=ALL
-v {{ matrix_appservice_discord_config_path }}:/cfg