- 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 virtual IP for IPv4 fmgr_firewall_vip_dynamicmapping: bypass_validation: False adom: ansible vip: 'ansible-test-vip' # name state: present firewall_vip_dynamicmapping: _scope: # Required - name: FGT_AWS # need a valid device name vdom: root # need a valid vdom name under the device arp-reply: enable color: 2 comment: 'ansible-comment' id: 1