Running ansible 2.15.9 and just ran ansible-galaxy collection install fortinet.fortios:2.3.5. My Fortigate FIrewall are running version 7.2.
Here's the YML File:
name: "Demonstrate connecting to switches"
hosts: fortios
gather_facts: no
connection: ansible.netcommon.network_cli
name: Display some facts
debug:
msg: "The hostname is {{ ansible_net_hostname }} and the OS is {{ ansible_net_version }}"
When running the playbook I get:
fatal: [uslas20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [uslax20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [uslas20-aws02-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [sgsin20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [usbos20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [uslax20-aws02-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [uslas01-mgmt03.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [uslas01-mgmt04.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
fatal: [uslas01-f01-i03-ddo01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}
Running ansible 2.15.9 and just ran ansible-galaxy collection install fortinet.fortios:2.3.5. My Fortigate FIrewall are running version 7.2. Here's the YML File:
name: "Demonstrate connecting to switches" hosts: fortios gather_facts: no connection: ansible.netcommon.network_cli
tasks:
Collect data
#
Demonstrate variables
#
When running the playbook I get: fatal: [uslas20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [uslax20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [uslas20-aws02-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [sgsin20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [usbos20-aws01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [uslax20-aws02-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [uslas01-mgmt03.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [uslas01-mgmt04.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"} fatal: [uslas01-f01-i03-ddo01-prod.it.motional.com]: FAILED! => {"msg": "network os fortinet.fortios.fortios is not supported"}