Change Docker Stack modules to use common CLI module framework. (#745)

This commit is contained in:
Felix Fontein
2024-01-14 08:54:06 +01:00
committed by GitHub
parent 5adac5216a
commit 1c8272f821
8 changed files with 249 additions and 161 deletions
@@ -18,7 +18,7 @@
assert:
that:
- 'output is failed'
- '"Error running docker stack" in output.msg'
- '"Error response from daemon: This node is not a swarm manager" in output.msg'
- name: Create a swarm cluster
docker_swarm:
@@ -18,7 +18,7 @@
assert:
that:
- 'output is failed'
- '"Error running docker stack" in output.msg'
- '"Error response from daemon: This node is not a swarm manager" in output.msg'
- name: Create a swarm cluster
docker_swarm: