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

reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
parent 759e4f2f24
commit 816bfd6990

@ -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

@ -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

Loading…
Cancel
Save