PaloAltoNetworks / pan-os-ansible

Ansible collection for easy automation of Palo Alto Networks next generation firewalls and Panorama, in both physical and virtual form factors.
https://pan.dev/ansible/docs/panos
Apache License 2.0
204 stars 97 forks source link

No explanation of the state options for the modules #482

Open andubiel opened 1 year ago

andubiel commented 1 year ago

Documentation link

Describe the problem

Suggested fix

State

welcome-to-palo-alto-networks[bot] commented 1 year ago

:tada: Thanks for opening your first issue here! Welcome to the community!

torch183 commented 7 months ago

I'd like to bump this, as I too find it hard to understand how all the states are supposed to work. For instance, what's really the difference between present and replaced? Say I run a task with panos_address_object with state: present and referencing an existing object name. If the submitted object attributes differ from the present object attributes, the object is changed. How is this different from what replaced would do?