Closed nukulaar closed 2 years ago
You have to use fmgr_pkg_firewall_policy and fill in the values for srcaddr6 and dstaddr6 Kind of that
pkg_firewall_policy:
policyid: 0
name: "allv6 --> my rulename"
comments: "Created by Ansible"
action: "accept"
dstaddr6: "HOSTv6_myObj"
srcaddr6: "all"
dstintf: "any"
srcintf: "any"
logtraffic: "enable"
service: "SVC_443_TCP"
schedule: "always"
status: enable
Thank you, this is working!
In FortiManager 6.4 the IPv6 and IPv4 Policies have been merged and thus the API seems to have changed. Currently the following task fails:
This is the output:
If I set bypass_validation to true: