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

Reply
Highlighted
L0 Member

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

Hello,

 

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.

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 Live Community as a whole!

The Live Community thanks you for your participation!