From 0501a18608ae817998583ad2dbe757970c64027a Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 11 Jan 2016 14:59:23 -0800 Subject: [PATCH] Really disable RETURN --- lib/ansible/modules/extras/cloud/amazon/ecs_service.py | 4 ++-- lib/ansible/modules/extras/cloud/amazon/ecs_service_facts.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/ecs_service.py b/lib/ansible/modules/extras/cloud/amazon/ecs_service.py index 24904e6e672..9056ec73660 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ecs_service.py +++ b/lib/ansible/modules/extras/cloud/amazon/ecs_service.py @@ -98,7 +98,7 @@ EXAMPLES = ''' # Disabled the RETURN as it was breaking docs building. Someone needs to fix # this -RETURN = ''' ''' +RETURN = '''# ''' ''' # Create service service: On create service, it returns the new values; on delete service, it returns the values for the service being deleted. @@ -146,7 +146,7 @@ class EcsServiceManager: self.module.fail_json(msg="Can't authorize connection - "+str(e)) # def list_clusters(self): - # return self.client.list_clusters() + # return self.client.list_clusters() # {'failures=[], # 'ResponseMetadata={'HTTPStatusCode=200, 'RequestId='ce7b5880-1c41-11e5-8a31-47a93a8a98eb'}, # 'clusters=[{'activeServicesCount=0, 'clusterArn='arn:aws:ecs:us-west-2:777110527155:cluster/default', 'status='ACTIVE', 'pendingTasksCount=0, 'runningTasksCount=0, 'registeredContainerInstancesCount=0, 'clusterName='default'}]} diff --git a/lib/ansible/modules/extras/cloud/amazon/ecs_service_facts.py b/lib/ansible/modules/extras/cloud/amazon/ecs_service_facts.py index 126ef9c69cf..d86bc93d687 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ecs_service_facts.py +++ b/lib/ansible/modules/extras/cloud/amazon/ecs_service_facts.py @@ -58,7 +58,7 @@ EXAMPLES = ''' # Disabled the RETURN as it was breaking docs building. Someone needs to fix # this -RETURN = ''' ''' +RETURN = '''# ''' ''' services: When details is false, returns an array of service ARNs, else an array of these fields clusterArn: The Amazon Resource Name (ARN) of the of the cluster that hosts the service.