[Ansible] - Panorama - "device_group: shared" error

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

[Ansible] - Panorama - "device_group: shared" error

L0 Member



Has anyone perhaps encountered a similar issue when omitting device_group on panos_security_rule when pushing to Panorama:


fatal: [localhost]: FAILED! => {"changed": false, "msg": "Scope \"shared\" is not allowed"}


I can create objects as shared, when omitting device_group, but it fails when applying to security policy.

Additionally, specifying an exact device_group also works.


User connecting to Panorama to push the rule has admin rights.


Thank you for your time.

  • 0 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!