fortios_system_automation_action
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_system_automation_action
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| system_automation_action | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_automation_action:
access_token: '{{ fortios_access_token }}'
state: present
system_automation_action:
action_type: email
alicloud_function_authorization: anonymous
azure_function_authorization: anonymous
delay: "0"
duration: "5"
email_to:
- name: default_name_32
execute_security_fabric: enable
file_only: enable
form_data:
- id: "36"
forticare_email: enable
http_headers:
- id: "49"
log_debug_print: enable
message_type: text
method: post
minimum_interval: "0"
name: default_name_56
output_interval: "0"
output_size: "10"
port: "0"
protocol: http
replacement_message: enable
required: enable
sdn_connector:
- name: default_name_67 (source system.sdn-connector.name)
system_action: reboot
timeout: "0"
verify_host_cert: enable
vdom: root
name: Action for automation stitches.