fortinet-ansible-dev / ansible-galaxy-fortiweb-collection

5 stars 2 forks source link

FortiWeb Ansible Collection


The collection is the FortiWeb Ansible Automation project. It includes the modules that are able to configure FortiWeb OS features.

Modules

The collection provides the following modules:

Usage

This collection includes some playbooks for configuring FortiWeb OS. Here is a quick example:

Create the hosts inventory file

[fortiweb]
web01 ansible_host=192.168.1.99 ansible_user="admin" ansible_password="password"

[fortiweb:vars]
ansible_network_os=fortinet.fortiweb.fwebos
ansible_httpapi_use_ssl=yes
ansible_httpapi_validate_certs=no
ansible_httpapi_port=443

Run the playbook:

ansible-playbook -i hosts fwebos_system_setting.yml

This operation will adjust system idle timeout.

For other playbooks, please make sure required settings are already done in FortiWeb OS before running them.