Merge remote-tracking branch 'upstream/devel' into devel

reviewable/pr18780/r1
Kristian Koehntopp 9 years ago
commit 7435b49f77

@ -20,18 +20,25 @@ short_description: Manage an AWS VPC Internet gateway
description: description:
- Manage an AWS VPC Internet gateway - Manage an AWS VPC Internet gateway
version_added: "2.0" version_added: "2.0"
author: Robert Estelle, @erydo author: Robert Estelle (@erydo)
options: options:
vpc_id: vpc_id:
description: description:
- The VPC ID for the VPC in which to manage the Internet Gateway. - The VPC ID for the VPC in which to manage the Internet Gateway.
required: true required: true
default: null default: null
region:
description:
- The AWS region to use. If not specified then the value of the EC2_REGION environment variable, if any, is used. See U(http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region)
required: false
default: null
aliases: [ 'aws_region', 'ec2_region' ]
state: state:
description: description:
- Create or terminate the IGW - Create or terminate the IGW
required: false required: false
default: present default: present
choices: [ 'present', 'absent' ]
extends_documentation_fragment: aws extends_documentation_fragment: aws
''' '''
@ -39,16 +46,13 @@ EXAMPLES = '''
# Note: These examples do not set authentication details, see the AWS Guide for details. # Note: These examples do not set authentication details, see the AWS Guide for details.
# Ensure that the VPC has an Internet Gateway. # Ensure that the VPC has an Internet Gateway.
# The Internet Gateway ID is can be accessed via {{igw.gateway_id}} for use # The Internet Gateway ID is can be accessed via {{igw.gateway_id}} for use in setting up NATs etc.
# in setting up NATs etc. ec2_vpc_igw:
local_action: vpc_id: vpc-abcdefgh
module: ec2_vpc_igw state: present
vpc_id: {{vpc.vpc_id}} register: igw
region: {{vpc.vpc.region}}
state: present
register: igw
'''
'''
import sys # noqa import sys # noqa
@ -117,7 +121,7 @@ def main():
argument_spec.update( argument_spec.update(
dict( dict(
vpc_id = dict(required=True), vpc_id = dict(required=True),
state = dict(choices=['present', 'absent'], default='present') state = dict(default='present', choices=['present', 'absent'])
) )
) )

@ -40,7 +40,7 @@ options:
default: null default: null
region: region:
description: description:
- AWS region to create the bucket in. If not set then the value of the AWS_REGION and EC2_REGION environment variables are checked, followed by the aws_region and ec2_region settings in the Boto config file. If none of those are set the region defaults to the S3 Location: US Standard. - "AWS region to create the bucket in. If not set then the value of the AWS_REGION and EC2_REGION environment variables are checked, followed by the aws_region and ec2_region settings in the Boto config file. If none of those are set the region defaults to the S3 Location: US Standard."
required: false required: false
default: null default: null
s3_url: s3_url:

@ -20,7 +20,7 @@ short_description: Manage s3 bucket lifecycle rules in AWS
description: description:
- Manage s3 bucket lifecycle rules in AWS - Manage s3 bucket lifecycle rules in AWS
version_added: "2.0" version_added: "2.0"
author: Rob White (@wimnat) author: "Rob White (@wimnat)"
notes: notes:
- If specifying expiration time as days then transition time must also be specified in days - If specifying expiration time as days then transition time must also be specified in days
- If specifying expiration time as a date then transition time must also be specified as a date - If specifying expiration time as a date then transition time must also be specified as a date
@ -35,7 +35,7 @@ options:
description: description:
- "Indicates the lifetime of the objects that are subject to the rule by the date they will expire. The value must be ISO-8601 format, the time must be midnight and a GMT timezone must be specified." - "Indicates the lifetime of the objects that are subject to the rule by the date they will expire. The value must be ISO-8601 format, the time must be midnight and a GMT timezone must be specified."
required: false required: false
default: null default: null
expiration_days: expiration_days:
description: description:
- "Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer." - "Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer."
@ -43,9 +43,9 @@ options:
default: null default: null
prefix: prefix:
description: description:
- "Prefix identifying one or more objects to which the rule applies. If no prefix is specified, the rule will apply to the whole bucket." - "Prefix identifying one or more objects to which the rule applies. If no prefix is specified, the rule will apply to the whole bucket."
required: false required: false
default: null default: null
region: region:
description: description:
- "AWS region to create the bucket in. If not set then the value of the AWS_REGION and EC2_REGION environment variables are checked, followed by the aws_region and ec2_region settings in the Boto config file. If none of those are set the region defaults to the S3 Location: US Standard." - "AWS region to create the bucket in. If not set then the value of the AWS_REGION and EC2_REGION environment variables are checked, followed by the aws_region and ec2_region settings in the Boto config file. If none of those are set the region defaults to the S3 Location: US Standard."
@ -54,8 +54,8 @@ options:
rule_id: rule_id:
description: description:
- "Unique identifier for the rule. The value cannot be longer than 255 characters. A unique value for the rule will be generated if no value is provided." - "Unique identifier for the rule. The value cannot be longer than 255 characters. A unique value for the rule will be generated if no value is provided."
required: false required: false
default: null default: null
state: state:
description: description:
- "Create or remove the lifecycle rule" - "Create or remove the lifecycle rule"

@ -24,14 +24,14 @@ module: vmware_target_canonical_facts
short_description: Return canonical (NAA) from an ESXi host short_description: Return canonical (NAA) from an ESXi host
description: description:
- Return canonical (NAA) from an ESXi host based on SCSI target ID - Return canonical (NAA) from an ESXi host based on SCSI target ID
version_added: 2.0 version_added: "2.0"
author: Joseph Callen author: Joseph Callen
notes: notes:
requirements: requirements:
- Tested on vSphere 5.5 - Tested on vSphere 5.5
- PyVmomi installed - PyVmomi installed
options: options:
hostname: hostname:
description: description:
- The hostname or IP address of the vSphere vCenter - The hostname or IP address of the vSphere vCenter
required: True required: True

@ -44,7 +44,7 @@ options:
product_id: product_id:
description: description:
- product id of the installed package (used for checking if already installed) - product id of the installed package (used for checking if already installed)
required: false required: false
default: null default: null
aliases: [] aliases: []
arguments: arguments:
@ -54,20 +54,20 @@ options:
aliases: [] aliases: []
state: state:
description: description:
- Install or Uninstall - Install or Uninstall
choices: choices:
- present - present
- absent - absent
default: present default: present
aliases: [ensure] aliases: [ensure]
user_name: user_name:
description: description:
- Username of an account with access to the package if its located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_password for this to function properly. - Username of an account with access to the package if its located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_password for this to function properly.
default: null default: null
aliases: [] aliases: []
user_password: user_password:
description: description:
- Password of an account with access to the package if its located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_name for this to function properly. - Password of an account with access to the package if its located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_name for this to function properly.
default: null default: null
aliases: [] aliases: []
author: Trond Hindenes author: Trond Hindenes

Loading…
Cancel
Save