After updating ansible to version 2.14/7.1.0 and the fortios collection to version 2.3.0, I started getting the following alert when running playbooks:
redirecting (type: connection) ansible.builtin.httpapi to ansible.netcommon.httpapi
[WARNING]: The "ansible_collections.ansible.netcommon.plugins.connection.httpapi" connection plugin has an improperly configured remote target value, forcing "inventory_hostname"
templated value instead of the string
Installed versions below:
py39-ansible-7.1.0 Radically simple IT automation
py39-ansible-core-2.14.3 Radically simple IT automation
# /home/ansible-fortinet/.ansible/collections/ansible_collections
Collection Version
----------------- -------
ansible.netcommon 2.6.1
ansible.utils 2.5.2
fortinet.fortios 2.3.0
At the end of the debug that I ran, it reports that there was a timeout
ansible.module_utils.connection.ConnectionError: command timeout triggered, timeout value is 30 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.\n"
But I can connect normally with the user and password via ssh in fortinet
The error occurred due to the ansible.netcommon collection not being in 5.1.1, I forced the installation of the latest version and everything worked correctly.
Hi
After updating ansible to version 2.14/7.1.0 and the fortios collection to version 2.3.0, I started getting the following alert when running playbooks:
Installed versions below:
At the end of the debug that I ran, it reports that there was a timeout
But I can connect normally with the user and password via ssh in fortinet
My fortinet system running in version 6.4.12.