Comments (6)
@jghal Thank you for your interest in ansible_collection_azure. The "check" parameter does not support modules that rely on the results of other commands, so if you want to view resources through the "*_info" module, it is recommended that you drop the "check" parameter.
You can refer to the documentation: https://docs.ansible.com/ansible/latest/user_guide/playbooks_checkmode.html
from azure.
Thanks @Fred-sun. Is there some reflection going on so that the core Ansible engine knows not to allow check mode within a module, or is it up the module developer to support check mode based on a published policy?
I wanted to use --check --diff
to do CI unit testing pipelines on a playbook whose main purpose is destructive (destroying resources). Without having check mode I have to write in extra logic such as a boolean variable used in a when
or a tag. I'm essentially just writing my own way to simulate check mode even though the flags to convey this intent is already built into Ansible via check mode.
from azure.
@jghal I'll try it as you suggest. Until then, can you using the "-- skip-tags" to skip these module check? Thank you very much!
from azure.
Yes, I can use workarounds to not having check mode. I just would prefer not to have to. I feel like the spirit of check mode is that the target host is not modified, and since there is fundamentally no target host with these modules they should support check mode.
from azure.
@jghal Thank you for your advice and we will discuss the need for an increase as soon as possible.
from azure.
@jghal This problem should be turned off, and the check mode mode should be used to manage modules! Thank you very much!
from azure.
Related Issues (20)
- Unable to install collection via ansible-galaxy command HOT 5
- [azure_rm_openshiftmanagedcluster] properties.clusterProfile.resourceGroupId set to null, produces error HOT 1
- [azure_rm_openshiftmanagedclusterkubeconfig_info] fails -
- Querying for image-versions fails on empty set. HOT 1
- restorable_dropped_database_id isn't a valid parameter for the azure_rm_sqldatabase module, but it is in the Examples. HOT 3
- Bind the DataProtection API for Azure Backups
- [azure_rm_storageblob] Doc should mention that public_access parameter should not be set for private access. HOT 3
- [azure_rm_common/azure_rm_virtualnetwork] CIDR_PATTERN fails on IPv6 Addresses
- azure_rm_postgresqlflexibleserver - Add Supported PostgreSQL Major Versions 14, 15 & 16
- `azure_rm_virtualmachinescaleset` Module not Updating VMSS tags HOT 3
- [azure_rm_publicipaddress] Add support for setting reverse_fqdn on public IPv4 addresses HOT 1
- Support for Data Collecion Rules / Data Collection Rule Associations HOT 1
- snapshot_info module HOT 1
- azure_rm_virtualmachineextension/azure_rm_virtualmachineextension_info support auto upgrade
- azure_rm_galleryimageversion_info throwing error when image definition does not exist or when image definition does not have image versions HOT 9
- azure_rm_manageddisk trying to modify creation_data when it should not HOT 1
- azure_rm_virtualmachine using "latest" as image version does not select actual latest version HOT 3
- azure_rm_virtualmachine_info - need Object ID - Type SystemAssigned HOT 2
- Virtual Network -- show usage HOT 3
- Azure ARC Connected Machines Information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure.