docker_swarm_service: Add command option (#50984)

* Add command option

* Fix test task name

* Changelog fragment

* Fix indendation

* Add version_added

* Better command description

* Test passing command as list

* Handle invalid command types

* Cleaner command type checking

* Check that all items in command list are strings

* Better error about command list items

* Better type checking errors

* Add tests for command type checking

* Update command tests

* Fix messed up rebase
This commit is contained in:
Hannes Ljungberg 2019-01-21 22:01:22 +01:00 committed by ansibot
commit e3f61f4480
4 changed files with 125 additions and 4 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- "docker_swarm_service - Added support for ``command`` parameter."