mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
docker_swarm_service: Documentation fixes (#53479)
* Document and validate mode choices * Update examples * Test cpu float values * Test correct option * Fix module return sample * Add secrets and user to module return value * Order options alphabetically * Add changelog * yaml indentation * Revert "Order options alphabetically" This reverts commit 51dabccda7930b707d5683670af7f89a68aeb577. * Be consistent with choices type
This commit is contained in:
committed by
Matt Martz
parent
008db85d44
commit
3d07e7241a
@@ -1106,7 +1106,7 @@
|
||||
image: alpine:3.8
|
||||
resolve_image: no
|
||||
command: '/bin/sh -v -c "sleep 10m"'
|
||||
labels: {}
|
||||
healthcheck: {}
|
||||
register: healthcheck_8
|
||||
ignore_errors: yes
|
||||
|
||||
@@ -1116,7 +1116,7 @@
|
||||
image: alpine:3.8
|
||||
resolve_image: no
|
||||
command: '/bin/sh -v -c "sleep 10m"'
|
||||
labels: {}
|
||||
healthcheck: {}
|
||||
register: healthcheck_9
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
resolve_image: no
|
||||
command: '/bin/sh -v -c "sleep 10m"'
|
||||
limits:
|
||||
cpus: 2
|
||||
cpus: 0.5
|
||||
register: limit_cpu_3
|
||||
|
||||
- name: cleanup
|
||||
@@ -159,7 +159,7 @@
|
||||
resolve_image: no
|
||||
command: '/bin/sh -v -c "sleep 10m"'
|
||||
reservations:
|
||||
cpus: 2
|
||||
cpus: 0.5
|
||||
register: reserve_cpu_3
|
||||
|
||||
- name: cleanup
|
||||
|
||||
@@ -26,6 +26,7 @@ service_expected_output:
|
||||
mode: global
|
||||
mounts: null
|
||||
networks: null
|
||||
secrets: null
|
||||
stop_grace_period: null
|
||||
stop_signal: null
|
||||
placement_preferences: null
|
||||
@@ -46,4 +47,5 @@ service_expected_output:
|
||||
update_monitor: null
|
||||
update_order: null
|
||||
update_parallelism: null
|
||||
user: null
|
||||
working_dir: null
|
||||
|
||||
Reference in New Issue
Block a user