Commit 826f6a2b authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Set umask on container launch

parent e4aa64fa
......@@ -22,7 +22,7 @@
- docker_container:
name: "{{ container_name }}"
image: "{{ docker_registry }}:{{ docker_registry_port }}/{{ image_name }}:{{ version_tag }}"
command: "bash -c \"umask 002; {{ container_cmd }} {% if register_as_pipeline is not defined or register_as_pipeline %} --redis-ip {{ redis_storage }} --redis-port {{ redis_port }} --register-id={{ container_name }} {% endif %} {% if log_level is defined %} --log-level={{ log_level }} {%endif%}\""
command: "sh -c \"umask 002; {{ container_cmd }} {% if register_as_pipeline is not defined or register_as_pipeline %} --redis-ip {{ redis_storage }} --redis-port {{ redis_port }} --register-id={{ container_name }} {% endif %} {% if log_level is defined %} --log-level={{ log_level }} {%endif%}\""
state: started # ensure that is running
pull: yes
privileged: yes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment