docker_swarm inventory: add aliases (#54355)
docker_swarm inventory: add aliases (#54355)

* Implement option type checking. Add support for aliases..

Add same aliases as for docker_* modules.

* Linting.

thaim/ansible,thaim/ansible