### Install FortiManager Ansible Collection Source: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortimanager-collection/blob/main/README.md Install the collection using the Ansible Galaxy command-line tool. This is the primary method for obtaining the collection. ```bash ansible-galaxy collection install fortinet.fortimanager ``` -------------------------------- ### Example Ansible Collection Plugins Directory Structure Source: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortimanager-collection/blob/main/plugins/README.md Illustrates the typical layout for various plugin types within an Ansible collection, including 'action', 'cache', 'filter', and others. ```text └── plugins ├── action ├── become ├── cache ├── callback ├── cliconf ├── connection ├── filter ├── httpapi ├── inventory ├── lookup ├── module_utils ├── modules ├── netconf ├── shell ├── strategy ├── terminal ├── test └── vars ``` -------------------------------- ### Install Specific Version of FortiManager Ansible Collection Source: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortimanager-collection/blob/main/README.md Install a specific version of the collection, such as 2.0.0, for stability or to downgrade if issues arise with newer versions. Use this syntax to install version 2.0.0: ```bash ansible-galaxy collection install fortinet.fortimanager:==2.0.0 ``` -------------------------------- ### Install FortiManager Ansible Collection via requirements.yml Source: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortimanager-collection/blob/main/README.md Include the collection in a requirements.yml file for automated installation. This is useful for managing collection dependencies in projects. ```yaml collections: - name: fortinet.fortimanager ``` -------------------------------- ### Upgrade FortiManager Ansible Collection Source: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortimanager-collection/blob/main/README.md Upgrade the collection to the latest available version using the Ansible Galaxy command-line tool. This ensures you have the most recent features and bug fixes. ```bash ansible-galaxy collection install fortinet.fortimanager --upgrade ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.