Allow setting container entrypoint
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
container_command: []
|
||||
container_entrypoint: ""
|
||||
container_user: ""
|
||||
container_mounts: []
|
||||
container_publish_ports: []
|
||||
|
||||
@@ -13,6 +13,11 @@ argument_specs:
|
||||
required: false
|
||||
default: []
|
||||
elements: str
|
||||
container_entrypoint:
|
||||
description: Entrypoint to use for the continaer
|
||||
type: str
|
||||
required: false
|
||||
default: ""
|
||||
container_user:
|
||||
description: The UID to run as inside the container
|
||||
type: str
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
image: "{{ _container_image }}"
|
||||
name: "{{ container_name }}"
|
||||
command: "{{ container_command or omit }}"
|
||||
entrypoint: "{{ container_entrypoint or omit }}"
|
||||
user: "{{ container_user or omit }}"
|
||||
mount: "{{ _container_mounts | map('items') | map('map', 'join', '=') | map('join', ',') }}"
|
||||
network: "{{ _container_networks_with_ip }}"
|
||||
|
||||
Reference in New Issue
Block a user