From a6bfeea1c4a442eb6a6af6395f99845e7630d0c7 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Wed, 3 Aug 2016 00:39:21 -0400 Subject: [PATCH] Improved documentation for returned actions. --- .../modules/cloud/docker/docker_service.py | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/docker/docker_service.py b/lib/ansible/modules/cloud/docker/docker_service.py index 1adaf561d9..fe9436cf83 100644 --- a/lib/ansible/modules/cloud/docker/docker_service.py +++ b/lib/ansible/modules/cloud/docker/docker_service.py @@ -400,9 +400,35 @@ actions: returned: always type: complex contains: + pulled_image: + description: Provides image details when a new image is pulled for the service. + returned: on image pull + type: complex + contains: + name: + description: name of the image + returned: always + type: string + id: + description: image hash + returned: always + type: string + built_image: + description: Provides image details when a new image is built for the service. + returned: on image build + type: complex + contains: + name: + description: name of the image + returned: always + type: string + id: + desription: image hash + returned: always + type: string + action: - description: A descriptive name of the action to be performed on the set of containers - within the service. + description: A descriptive name of the action to be performed on the service's containers. returned: always type: list contains: