Closed rrobles12 closed 3 years ago
Hi @rrobles12
Please install the latest version ansible-galaxy collection install fortinet.fortios:2.0.2 to use the module 'upload.webproxy.pacfile' in fortios_monitor and then run the task fortios_web_proxy_explicit.
When executing the task fortios_web_proxy_explicit, the first step would be uploading the pac file, it's not just a simple string as in CLI.
You can open an issue at https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection/issues is you have any questions.
Thanks!
I am unable to fully populate the pac_file_data with the actual contents. It cuts off and seems to have issues with certain symbols.
The playbook is as follows:
and what actually gets pushed is the following:
The PAC file contents are the following:
And the ansible debug is the following:
What the firewall actually sees is the following when debugging:
Despite the debug of ansible showing it sent the whole file it still shows up sliced at the actual firewall. Is there a specific way I have to enter the contents of the PAC file so this does not happen?
Thanks