Closed cardosocristian closed 1 year ago
Hi @cardosocristian,
It's caused by the 'source_interface', which acceptes a list ob objects. here's the doc for this module https://ansible-galaxy-fortios-docs.readthedocs.io/en/latest/gen/fortios_vpn_ssl_settings.html.
source_interface:
- name: port2
Hi @JieX19 sorry I didn't see the list in the module, I skimmed the documentation and didn't see that this was also a list. I would like to ask one last question about the module, I noticed that the module does not have the "state" present and absent, is this on purpose?
@cardosocristian Good question! Because vpn_ssl_setting is a global object and it's not allowed to be deleted or created.
Thanks for the clarification and help @JieX19
I'm trying to generate ansible to configure Fortigate's vpn_ssl service and I'm getting the error reported in the title of this issue.
Follow the playbook below:
When I run the playbook, the error already occurs locally in ansible. I performed syntax checking and also removed the mailing lists for testing, but the error is still displayed at the end of the execution attempt.
"msg": "dictionary requested, could not parse JSON or key=value"