Ansible with_subelements erroring out on FortiGates
I’ve got an Ansible playbook I’m using to do SNMP user operations on FortiGates using the with_subelements module. I tried using a loop, but that was exhibiting some very bizarre behavior (outlined in another question here). For some reason, I can’t seem to get it to parse and execute properly. You can see the JSON info in the console error outputs where “meta” is the top level element. Do I need to convert the JSON data into a different format? Am I using the wrong syntax? Is what I’m trying to do just not going to work this way?
Ansible with_subelements erroring out on FortiGates
I’ve got an Ansible playbook I’m using to do SNMP user operations on FortiGates using the with_subelements module. I tried using a loop, but that was exhibiting some very bizarre behavior (outlined in another question here). For some reason, I can’t seem to get it to parse and execute properly. You can see the JSON info in the console error outputs where “meta” is the top level element. Do I need to convert the JSON data into a different format? Am I using the wrong syntax? Is what I’m trying to do just not going to work this way?