fortios_address – Manage fortios firewall address objects¶
New in version 2.4.
Parameters¶
Examples¶
- name: Register french addresses
  fortios_address:
    host: 192.168.0.254
    username: admin
    password: p4ssw0rd
    state: present
    name: "fromfrance"
    type: geography
    country: FR
    comment: "French geoip address"
- name: Register some fqdn
  fortios_address:
    host: 192.168.0.254
    username: admin
    password: p4ssw0rd
    state: present
    name: "Ansible"
    type: fqdn
    value: www.ansible.com
    comment: "Ansible website"
- name: Register google DNS
  fortios_address:
    host: 192.168.0.254
    username: admin
    password: p4ssw0rd
    state: present
    name: "google_dns"
    type: ipmask
    value: 8.8.8.8
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description | 
|---|---|---|
| 
                
                change_string
                
                 
                  string
                                       
                                 | 
            only if config changed | 
                                         The commands executed by the module. 
                                     | 
        
| 
                
                firewall_address_config
                
                 
                  string
                                       
                                 | 
            always | 
                                         full firewall addresses config string. 
                                     | 
        
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
Benjamin Jolivot (@bjolivot)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.