From 17776142d14c0bfb2e5842189243231f4eb13cb4 Mon Sep 17 00:00:00 2001 From: Hannes Ljungberg Date: Mon, 8 Apr 2019 17:36:56 +0200 Subject: [PATCH] Extend state option documentation (#54989) --- lib/ansible/modules/cloud/docker/docker_swarm_service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker_swarm_service.py b/lib/ansible/modules/cloud/docker/docker_swarm_service.py index b0fbd98971f..7c668108442 100644 --- a/lib/ansible/modules/cloud/docker/docker_swarm_service.py +++ b/lib/ansible/modules/cloud/docker/docker_swarm_service.py @@ -622,7 +622,9 @@ options: type: int state: description: - - Service state. + - I(absent) - A service matching the specified name will be removed and have its tasks stopped. + - I(present) - Asserts the existence of a service matching the name and provided configuration parameters. + Unspecified configuration parameters will be set to docker defaults. type: str required: yes default: present