-
Notifications
You must be signed in to change notification settings - Fork 314
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 vmskus module - list available skus #1546
Conversation
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.
@nirarg You can detect these errors with the command ansible-lint, which can be found by referring to the link: https://ansible.readthedocs.io/projects/lint/usage/
tests/integration/targets/azure_rm_virtualmachine/tasks/azure_test_skus.yml
Outdated
Show resolved
Hide resolved
tests/integration/targets/azure_rm_virtualmachine/tasks/azure_test_skus.yml
Outdated
Show resolved
Hide resolved
@nirarg This module is like a module to get VMsku information, it would be better if it was named 'azure_rm_vmsku_info.py'! Thank you very much! |
Hi @Fred-sun , The module was renamed to When I run
I also saw these errors exist in other files |
@nirarg Thank you for your feedback, I will re-check as soon as possible! |
@nirarg Yes, there are some other unavoidable errors that are temporarily ignored, such as the public key being too long! Thanks! |
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.
@nirarg The last request change!
@nirarg can you help resolve the file conflict? And there is a test failed, we need to run the VM tests since the compute API version updated.
|
Support for VM shape fact collection from available SKUs would allow for playbook idempotence as automators build out support for their automations based on what SKUs are available within a cloud region as opposed to being configured within a playbook. This change includes: * Adding new module: "azure_rm_vmsku_info" ("plugins/modules/azure_rm_vmsku_info.py") * Adding new integration test: "tests/integration/targets/azure_rm_virtualmachine/tasks/azure_test_skus.yml"
@xuzhang3 @Fred-sun I have change this new module to use its own client instance with its own version |
@nirarg I am checking! Once finished review! I will push for merge! Thanks! |
SUMMARY
Support for VM shape fact collection from available SKUs would allow for playbook idempotence as automators build out support for their automations based on what SKUs are available within a cloud region as opposed to being configured within a playbook.
ISSUE TYPE
COMPONENT NAME
New module added:
azure_rm_vmskus.py
ADDITIONAL INFORMATION
In order to add this module, I used the following references:
You can run ansible with this module, using the following command: