{"repo":"PaloAltoNetworks/ansible-playbooks","free":true,"listed":false,"github":"https://github.com/PaloAltoNetworks/ansible-playbooks","clone":"git clone https://github.com/PaloAltoNetworks/ansible-playbooks.git","description":"Sample playbooks for the Palo Alto Networks Ansible modules.","language":"Jinja","stars":153,"topics":["ansible","pan-os","panorama"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"ansible-playbooks Example Ansible playbooks using the Palo Alto Networks Ansible Collection, and what you'll need to get started writing your own. We try to add interesting things to this repository over time based on customer questions, so check back from time to time. Getting Started Installing Ansible First, you'll need to install Ansible on the machine that will execute your playbooks (called the control node). The control node can be as simple as a laptop, and can be running any Unix-like OS (Linux, BSD, macOS). You'll want to generally follow the Ansible documentation for installing Ansible on your machine, but here are quick instructions for popular choices: CentOS Install from EPEL: Ubuntu Install from the Ansible PPA: macOS 10.15 Install from Pip (Python package manager): You'll want to permanently modify the PATH in your shell's config file as well. Clone this repository, install PAN-OS Collection Once you're done with installing Ansible, clone this repo, and install the PAN-OS collection from Ansible Galaxy as well as the Python modules it depends on: Customize connection parameters The supplied inventory sets variables for each host in the host vars directory. Authentication credentials are not included, and should be specified either on the CLI, or in a seperate file like so: You're now ready to start using these playbooks. Sample Playbooks You can use these playbooks as a base by cloning this repository. Each of them is documented with how to run them via ansibl","default_branch":null,"files":null,"tree":[],"storefront":"/r/PaloAltoNetworks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PaloAltoNetworks/ansible-playbooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}