Note
This plugin is part of the community.fortios collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.fortios
.
To use it in a playbook, specify: community.fortios.fmgr_fwobj_ippool6
.
Parameter | Choices/Defaults | Comments |
---|---|---|
adom string | Default: "root" | The ADOM the configuration should belong to. |
comments string | Comment. | |
dynamic_mapping string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
dynamic_mapping_comments string | Dynamic Mapping clone of original suffixed parameter. | |
dynamic_mapping_endip string | Dynamic Mapping clone of original suffixed parameter. | |
dynamic_mapping_startip string | Dynamic Mapping clone of original suffixed parameter. | |
endip string | Final IPv6 address (inclusive) in the range for the address pool. | |
mode string |
| Sets one of three modes for managing the object. Allows use of soft-adds instead of overwriting existing values |
name string | IPv6 IP pool name. | |
startip string | First IPv6 address (inclusive) in the range for the address pool. |
Note
- name: ADD FMGR_FIREWALL_IPPOOL6 fmgr_firewall_ippool6: mode: "add" adom: "ansible" startip: name: "IPv6 IPPool" endip: comments: "Created by Ansible" - name: DELETE FMGR_FIREWALL_IPPOOL6 fmgr_firewall_ippool6: mode: "delete" adom: "ansible" name: "IPv6 IPPool"
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
api_result string | always | full API response, includes status code and message |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/fortios/fmgr_fwobj_ippool6_module.html