-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Adding DevTest Lab ARM Template facts #53196
Conversation
@Madhura-CSI @brusMX @caohai @devigned @gustavomcarmo @haroldwongms @iphilpot @julienstroheker @lmazuel @obsoleted @sozercan @trstringer @tstringer @xscript @yaweiw @yuwzho As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add |
lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py
Outdated
Show resolved
Hide resolved
module: azure_rm_devtestlabarmtemplate_facts | ||
version_added: "2.8" | ||
short_description: Get Azure Arm Template facts. | ||
description: |
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.
arm to full name?
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.
updated to "Azure DevTest Lab ARM Template"
lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py
Outdated
Show resolved
Hide resolved
lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py
Outdated
Show resolved
Hide resolved
f0dcfc4
to
ceb8243
Compare
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.
code itself looks good. Just didn't get difference betwen armtemplate_facts and artifactsource_facts. can these 2 combine as one?
description: | ||
- The name of the lab. | ||
required: True | ||
artifact_source_name: |
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.
why it need artifact_source_name? is this copied from artifact source facts module?
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.
it's subresourcece of artifact_source.
Artifacts source is a GitHub/VSO repository, which can contain:
- artifacts
- ARM templates
so these two are subresources of artifacts source.
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.
i return artifacts_source_name just for consistency.
somebody may query ARM templates from 2 artifact sources and then combine the lists for instance.
lab_name=self.lab_name, | ||
artifact_source_name=self.artifact_source_name) | ||
self.log("Response : {0}".format(response)) | ||
except CloudError as e: |
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.
should we fail when list get null?
SUMMARY
Adding DTL ARM Template facts module.
ISSUE TYPE
COMPONENT NAME
azure_rm_devtestlabarmtemplate_facts
ADDITIONAL INFORMATION