PaloAltoNetworks/pan-os-ansible

"target_negate" being removed from config xml with present state

Opened this issue · 0 comments

Describe the bug

When an existing security rule is updated using the "present" state, following block is removed from the xml configuration.

target {
    negate no;
}

target and negate_target params are used with Panorama to target Firewalls.
with_target argument to get_connection sets the spec for this.

Expected behavior

Current behavior

Possible solution

Steps to reproduce

Screenshots

Context

Your Environment

  • Collection:
  • Python:
  • Ansible:
  • PAN-OS Python Library & version (e.g. pandevice 0.14.0, pan-os-python 1.0.2):