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:
Hannes Ljungberg 2019-03-07 23:51:59 +01:00 committed by Matt Martz
commit 3d07e7241a
5 changed files with 155 additions and 65 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "docker_swarm_service - Validate choices for option ``mode``."