Install FortiOS Ansible Galaxy

This document explains how to install the FortiOS Ansible Galaxy Collection.

Install Python3

Install Ansible Core

Install FortiOS Galaxy Collection

The FortiOS Ansible Galaxy supports multilple FortiOS major releases, you can install the latest collection by default via command ansible-galaxy collection install fortinet.fortios. you can also choose another galaxy version to match your FortiOS device.

Please see the versioning notes for more recently released collections and install the ones which are marked latest for your devices.