fortios_router_extcommunity_list
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_router_extcommunity_list
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 | |||
| router_extcommunity_list | dict | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_router_extcommunity_list:
access_token: '{{ fortios_access_token }}'
router_extcommunity_list:
name: default_name_3
rule:
- action: deny
id: "6"
type: rt
type: standard
state: present
vdom: root
name: Configure extended community lists.