New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add var source_version for ec2_launch_template #56768
Add var source_version for ec2_launch_template #56768
Conversation
@51004143, just so you are aware we have a dedicated Working Group for aws. |
The test
|
source_version: | ||
description: | ||
- Which version should be used when creating or updating launch template? By default, the first version will be made the default. | ||
default: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default: 1 | |
default: 1 | |
version_added: "2.9" |
test/sanity/validate-modules/main.py
Outdated
@@ -1091,7 +1091,7 @@ def _validate_docs(self): | |||
def _check_version_added(self, doc, existing_doc): | |||
version_added_raw = doc.get('version_added') | |||
try: | |||
version_added = StrictVersion(str(doc.get('version_added', '0.0') or '0.0')) | |||
version_added = StrictVersion(str(doc.get('version_added', '2.9') or '2.9')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Module PRs should not make changes to the module validator. Instead, revert this line and add version_added
to the new module parameter (see my other comment).
Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.
For further information, please see: |
SUMMARY
Add variable source_version, default is "1", which can create or update from specific source version.
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ec2_launch_template