-
Notifications
You must be signed in to change notification settings - Fork 331
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
Azure Resource Manager inventory plugin: Allow setting resources groups to include at runtime #152
Comments
@christophetd Thanks for you submit the issue. we will investigate those feature! Thank you very much! |
Thanks, looking forward to it! |
@Fred-sun any updates on this? I'm hitting the same issue of needing to specify the resource groups at runtime in pipelines. It doesn't appear that variables of any form are evaluated for |
@Liquidmantis Yes, if we want to include VMS under a certain resource group, it is necessary to enable dynamsterting into the inventory file. Thank you very much! |
@christophetd Yes, if you want to dynamically obtain VMS under a resource group, you need to obtain VMS from the Dynamic Inventory method. Thank you very much! |
Is there any update on this? This would be tremendously helpful for deploying to multiple environments which we segregate by resource groups. |
fixes by #975 |
@Fred-sun any update on your MR? Thanks for your work! |
@HarishHary It has fixed by #975, and this PR is ready, It will be merged as soon as possible! Thank you very much! |
Hello @Fred-sun, thanks for the fix again! Do you know when a new release is planned for the plugin? Still can't use it in production. |
Hey! @HarishHary we are also waiting for this, our issue: Cannot pass variables into the dynamic inventory configuration. @Fred-sun any plans for releasing? |
@PiotrWachulec @HarishHary Recently we want to upgrade a package, they will be released together, the upgrade is under way, thank you! |
Great, we are waiting! :) |
SUMMARY
Allow setting resources groups to include at runtime via environment variable
ISSUE TYPE
COMPONENT NAME
Azure Resource Manager inventory plugin
ADDITIONAL INFORMATION
Currently, the Azure resource groups to include in the inventory needs to be provided as part of the provider's configuration file:
This is a quite strong limitation because it doesn't allow you to dynamically specify these groups at runtime. Also, the Python script provided for dynamic inventories in the previous Ansible versions did allow to set an environment variable to control this behaviour.
Sample usage:
The text was updated successfully, but these errors were encountered: