From 7ea72607534ce996c311c17ee4c6aaf83989ae9e Mon Sep 17 00:00:00 2001 From: Prasad Katti Date: Wed, 23 Oct 2019 13:58:55 -0700 Subject: [PATCH] [ec2_launch_template] Update description of state param (#63147) ##### SUMMARY Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr --- lib/ansible/modules/cloud/amazon/ec2_launch_template.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_launch_template.py b/lib/ansible/modules/cloud/amazon/ec2_launch_template.py index 13567f2880c..dfc4421b062 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_launch_template.py +++ b/lib/ansible/modules/cloud/amazon/ec2_launch_template.py @@ -44,10 +44,8 @@ options: default: latest state: description: - - Whether the launch template should exist or not. To delete only a - specific version of a launch template, combine I(state=absent) with - the I(version) option. By default, I(state=absent) will remove all - versions of the template. + - Whether the launch template should exist or not. + - Deleting specific versions of a launch template is not supported at this time. choices: [present, absent] default: present block_device_mappings: