Open apellini opened 10 months ago
Hi @apellini,
Could you check the output of the file when using "to_json"? Maybe the command is adding extra characters that break JSOn validators like the to_nice_json as indicated here: "If you are using the to_nice_json filter, it will cause this module to fail because the purpose of that filter is to format the JSON to be human-readable and this process includes inserting "extra characters that break JSON validators." https://clouddocs.f5.com/products/orchestration/ansible/devel/f5_bigip/modules_2_0/bigip_cfe_deploy_module.html#bigip-cfe-deploy-module-2
I have checked and also removed to_json but I have same error.
If you see in module_args you find a key called provider but I have never configured.
Hi, I have found the issue.
F5 are associated to two different groups:
f5 cfe
on group f5 I have associated a key called provider with values need to authenticate with idempotent modules.
I have checked hostvars and key is not present when I associate device to cfe group and it works.
I think that this check is needed for something, but I don't understand the why.
Hi @apellini,
That's a good news.
I'm not sure to understand your last sentence and which check are you referring to?
COMPONENT NAME
bigip_cfe_deploy
Environment
ANSIBLE VERSION
BIGIP VERSION
SUMMARY
If we use this module we receive: Unsupported parameters for (bigip_cfe_deploy) module: provider. Supported parameters include: content.
STEPS TO REPRODUCE
EXPECTED RESULTS
Pass CFE Declaration
ACTUAL RESULTS