mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
New module: add docker_stack module (clound/docker/docker_stack) (#24588)
* add docker_stack module + tests
This commit is contained in:
committed by
John R Barker
parent
53b230ca74
commit
54c3d1c24e
15
test/integration/targets/docker_stack/vars/main.yml
Normal file
15
test/integration/targets/docker_stack/vars/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
stack_compose_base:
|
||||
version: '3'
|
||||
services:
|
||||
busybox:
|
||||
image: busybox:latest
|
||||
command: sleep 3600
|
||||
|
||||
stack_compose_overrides:
|
||||
version: '3'
|
||||
services:
|
||||
busybox:
|
||||
environment:
|
||||
envvar: value
|
||||
|
||||
stack_update_expected_diff: '{"test_stack_busybox": {"TaskTemplate": {"ContainerSpec": {"Env": ["envvar=value"]}}}}'
|
||||
Reference in New Issue
Block a user