Closed rnotley closed 1 year ago
Can you clarify what are you trying to get ansible to return? Is it everything under:
"traces": { "desired":
vs
"traces": { "current": {
@wojtek0806 Ideally, I would want the dryRun task result to include a boolean true/false if the DO deploy would change any configuration. So probably just "traces": { "diff"
is enough, but I don't know how accurate that content is. If it's not accurate, then having both "desired" and "current" and then doing the diff myself in ansible, but that sounds like a lot of work.
@rnotley added the option to devel, check the tomorrow's build, this will go live in next version release which will be 2.0.0
Thank you, I tested this and it works great.
COMPONENT NAME
bigip_do_deploy
Environment
ANSIBLE VERSION
BIGIP VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
I would like to send a DO configuration with dryRun set to true to determine if the DO configuration would cause any changes or not.
STEPS TO REPRODUCE
Example from here:
Ansible tasks:
EXPECTED RESULTS
When dryRun is set to true (the default is false) BIG-IP Declarative Onboarding sends the declaration through all validation checks but does not attempt to deploy the configuration on the target device. The response contains information on what would have been deployed (a diff between the existing configuration and what the declaration would deploy). This can be useful for testing and debugging declarations.
ACTUAL RESULTS
Results seem to be the same whether or not dryRun is true or false.