Hi,
I have a problem with FortiOS and ansible.
I am not able to connect with ansible to FortiOS via SSH.
I don't have any problems with httpapi, but it's not that simple to enter just "regular commands"... e.g. "execute ping x.x.x.x" or "get system status".
Have anyone ever connected and configured a Fortinet device with ansible via SSH?
And yes, I am able to connect via SSH to hosts.
Maybe someone can show an example of inventory (variables) and playbook?!
Many thanks
Immu
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi @Immu ,
- If you are able to connect to FortiGate from anisble using SSH. Please let us know what part you want to config i.e., interface, system settings etc.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1502 | |
1013 | |
749 | |
443 | |
209 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.