mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-10-31 17:55:00 +00:00
Fix indentation and remove unnecessary if-statements
This commit is contained in:
parent
ac4a918d58
commit
ca7b41f3f2
@ -19,7 +19,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm -
|
|||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
--cap-drop=ALL \
|
--cap-drop=ALL \
|
||||||
--network={{ matrix_hookshot_container_network }} \
|
--network={{ matrix_hookshot_container_network }} \
|
||||||
--mount type=bind,src={{ matrix_hookshot_base_path }},dst=/data \
|
--mount type=bind,src={{ matrix_hookshot_base_path }},dst=/data \
|
||||||
{% for port in matrix_hookshot_container_http_host_bind_ports %}
|
{% for port in matrix_hookshot_container_http_host_bind_ports %}
|
||||||
-p {{ port }} \
|
-p {{ port }} \
|
||||||
@ -29,9 +29,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm -
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_hookshot_docker_image }}
|
{{ matrix_hookshot_docker_image }}
|
||||||
|
|
||||||
{% if matrix_hookshot_container_additional_networks %}
|
|
||||||
{% for network in matrix_hookshot_container_additional_networks %}ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network ]] {{ matrix_hookshot_container_ident }}{% endfor %}
|
{% for network in matrix_hookshot_container_additional_networks %}ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network ]] {{ matrix_hookshot_container_ident }}{% endfor %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_hookshot_container_ident }}
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_hookshot_container_ident }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user