- hosts: fortimanager00 collections: - fortinet.fortimanager connection: httpapi vars: ansible_httpapi_use_ssl: True ansible_httpapi_validate_certs: False ansible_httpapi_port: 443 tasks: - name: Configure dynamic mappings of IPv4 address fmgr_firewall_address_dynamicmapping: bypass_validation: True adom: ansible address: 'ansible-test' # name state: present firewall_address_dynamicmapping: _scope: - name: FGT_AWS # need a valid device name vdom: root # need a valid vdom name under the device allow-routing: disable # cache-ttl: 0 color: 1 comment: 'ansible-comment' subnet: '222.222.222.101/32' subnet-name: 'ansible-test' type: ipmask # visibility: enable