Parameter |
Choices/Defaults |
Comments |
backup
bool |
|
This argument will cause the module to create a backup of the current running-config from the remote device before any changes are made. The backup file is written to the i(backup) folder.
|
backup_filename
|
|
Specifies the backup filename. If omitted filename will be formatted like HOST_config.YYYY-MM-DD@HH:MM:SS
|
backup_path
|
|
Specifies where to store backup files. Required if backup=yes.
|
comment
|
|
free text to describe address.
|
config_file
(added in 2.4) |
|
Path to configuration file. Required when file_mode is True.
|
country
|
|
2 letter country code (like FR).
|
end_ip
|
|
Last ip in range (used only with type=iprange).
|
file_mode
bool
(added in 2.4) |
|
Don't connect to any device, only use config_file as input and Output.
|
host
|
|
Specifies the DNS hostname or IP address for connecting to the remote fortios device. Required when file_mode is False.
|
interface
|
Default:
any
|
interface name the address apply to.
|
name
required |
|
Name of the address to add or delete.
|
password
|
|
Specifies the password used to authenticate to the remote device. Required when file_mode is True.
|
start_ip
|
|
First ip in range (used only with type=iprange).
|
state
required |
|
Specifies if address need to be added or deleted.
|
timeout
|
Default:
60
|
Timeout in seconds for connecting to the remote device.
|
type
|
Choices:
- iprange
- fqdn
- ipmask
- geography
|
Type of the address.
|
username
|
|
Configures the username used to authenticate to the remote device. Required when file_mode is True.
|
value
|
|
Address value, based on type. If type=fqdn, somthing like www.google.com. If type=ipmask, you can use simple ip (192.168.0.1), ip+mask (192.168.0.1 255.255.255.0) or CIDR (192.168.0.1/32).
|
vdom
|
|
Specifies on which vdom to apply configuration
|