Disable RETURNS because the approved module doesn't have a RETURNS that is buildable

This commit is contained in:
Toshio Kuratomi 2016-01-11 13:23:04 -08:00 committed by Matt Clay
parent ac86f8f0ad
commit c98db451ac
2 changed files with 12 additions and 6 deletions

View file

@ -25,7 +25,7 @@ notes:
- for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html) - for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html)
dependencies: dependencies:
- An IAM role must have been created - An IAM role must have been created
version_added: "2.0" version_added: "2.1"
author: Mark Chance (@java1guy) author: Mark Chance (@java1guy)
options: options:
state: state:
@ -95,7 +95,11 @@ EXAMPLES = '''
state: absent state: absent
cluster: new_cluster cluster: new_cluster
''' '''
RETURN = '''
# Disabled the RETURN as it was breaking docs building. Someone needs to fix
# this
RETURN = ''' '''
'''
# Create service # Create service
service: On create service, it returns the new values; on delete service, it returns the values for the service being deleted. service: On create service, it returns the new values; on delete service, it returns the values for the service being deleted.
clusterArn: The Amazon Resource Name (ARN) of the of the cluster that hosts the service. clusterArn: The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
@ -114,7 +118,6 @@ service: On create service, it returns the new values; on delete service, it ret
ansible_facts: When deleting a service, the values described above for the service prior to its deletion are returned. ansible_facts: When deleting a service, the values described above for the service prior to its deletion are returned.
''' '''
try: try:
import json
import boto import boto
import botocore import botocore
HAS_BOTO = True HAS_BOTO = True

View file

@ -22,7 +22,7 @@ notes:
- for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html) - for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html)
description: description:
- Lists or describes services in ecs. - Lists or describes services in ecs.
version_added: "2.0" version_added: "2.1"
author: Mark Chance (@java1guy) author: Mark Chance (@java1guy)
options: options:
details: details:
@ -55,7 +55,11 @@ EXAMPLES = '''
- ecs_service_facts: - ecs_service_facts:
cluster: test-cluster cluster: test-cluster
''' '''
RETURN = '''
# Disabled the RETURN as it was breaking docs building. Someone needs to fix
# this
RETURN = ''' '''
'''
services: When details is false, returns an array of service ARNs, else an array of these fields 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. clusterArn: The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
desiredCount: The desired number of instantiations of the task definition to keep running on the service. desiredCount: The desired number of instantiations of the task definition to keep running on the service.
@ -71,7 +75,6 @@ services: When details is false, returns an array of service ARNs, else an array
taskDefinition: The ARN of a task definition to use for tasks in the service. taskDefinition: The ARN of a task definition to use for tasks in the service.
''' '''
try: try:
import json, os
import boto import boto
import botocore import botocore
HAS_BOTO = True HAS_BOTO = True