Skip to content

Commit

Permalink
ec2_* Sanity corrections (ansible#64409)
Browse files Browse the repository at this point in the history
* ec2_* Sanity corrections

Cleanup some typos that were missed in ansible#64230

* Update lib/ansible/modules/cloud/amazon/ec2_launch_template.py

Co-Authored-By: Felix Fontein <[email protected]>
  • Loading branch information
jillr and felixfontein committed Nov 5, 2019
1 parent 8e4ac21 commit 798d622
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/ansible/modules/cloud/amazon/ec2_eip.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
tag_value:
description:
- Supplements I(tag_name) but also checks that the value of the tag provided in I(tag_name) matches I(tag_value).
matches the I(tag_value)
version_added: "2.9"
type: str
public_ipv4_pool:
Expand Down
8 changes: 4 additions & 4 deletions lib/ansible/modules/cloud/amazon/ec2_launch_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
type. After you connect to the instance, you must mount the volume.
type: str
ebs:
description: Parameters used to automatically set up EBS volumes when the instance is launchedself
description: Parameters used to automatically set up EBS volumes when the instance is launched.
type: dict
suboptions:
delete_on_termination:
Expand Down Expand Up @@ -136,7 +136,7 @@
the default value of 2.
type: int
credit_specification:
description: The credit option for CPU usage of the instance. Valid for T2 or T3 instances onlyself.
description: The credit option for CPU usage of the instance. Valid for T2 or T3 instances only.
type: dict
suboptions:
cpu_credits:
Expand Down Expand Up @@ -214,7 +214,7 @@
instance_type:
description: >
The instance type, such as C(c5.2xlarge). For a full list of instance types, see
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
U(http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
type: str
kernel_id:
description: >
Expand Down Expand Up @@ -269,7 +269,7 @@
block range of your subnet. You can't use this option if you're
specifying the I(ipv6_address_count) option.
type: list
elements: int
elements: str
network_interface_id:
description: The eni ID of a network interface to attach.
type: str
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/modules/cloud/amazon/ec2_lc.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
choices: ['default', 'dedicated']
associate_public_ip_address:
description:
- The I(wait_timeout) option does nothing and will be removed in Ansible 2.14.
- The I(associate_public_ip_address) option does nothing and will be removed in Ansible 2.14.
type: bool
extends_documentation_fragment:
Expand Down

0 comments on commit 798d622

Please sign in to comment.