container: work in check mode

This commit is contained in:
uumas
2023-03-15 00:05:24 +02:00
parent 8a3d588a66
commit 13f81e0c3e
2 changed files with 18 additions and 4 deletions

View File

@@ -61,7 +61,7 @@
- name: "Container for {{ docker_service_name }}"
docker_container:
name: "{{ docker_service_name }}"
image: "{{ container_image.image.Id }}"
image: "{{ container_image.Id }}"
user: "{{ docker_user if docker_host_user else omit }}"
mounts: "{{ docker_volume_definition }}"
published_ports: "{{ container_published_ports + docker_published_ports }}"