JonTheNiceGuy / fortigate_policy

An Ansible Role to deliver FortiGate Firewall policy changes. THIS ROLE CAN BE DESTRUCTIVE - PLEASE ENSURE YOU HAVE A BACKUP OF YOUR CONFIG BEFORE USING THIS ROLE!
MIT License
2 stars 0 forks source link

Note that two rules with the same name can't exist. #2

Open JonTheNiceGuy opened 5 years ago

JonTheNiceGuy commented 5 years ago

This will result in a -651 error.

Proposed workaround:

  1. Include in validate checks that two rules don't have the same name
  2. Include in live-check that a live rule and a new rule doesn't have the same name