Provisioning and configuring the firewall in the cloud can be time consuming and tedious. Palo Alto Networks Ansible modules can help automate and accelerate deployments of NGFW in AWS.
Questions or comments? Please feel free to leave all inquiries in the comments section below.
Thanks for viewing!
I have downloaded ansible-pan from github without any issue. However I have been trying to install the PaloAltoNetworks.paloaltonetworks role without any success. It produces "IndexError: list index out of range" error.
[ansible-user@localhost roles]$ ansible-galaxy install PaloAltoNetworks.paloaltonetworks -vvvansible-galaxy 188.8.131.52config file = /etc/ansible/ansible.cfgconfigured module search path = [u'/home/ansible-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']ansible python module location = /usr/lib/python2.7/site-packages/ansibleexecutable location = /usr/bin/ansible-galaxypython version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
Could you please shed some light on this issue?
Using /etc/ansible/ansible.cfg as config fileOpened /home/ansible-user/.ansible_galaxyProcessing role PaloAltoNetworks.paloaltonetworksOpened /home/ansible-user/.ansible_galaxy- downloading role 'paloaltonetworks', owned by PaloAltoNetworkshttps://galaxy.ansible.com/api/v1/roles/?owner__username=PaloAltoNetworks&name=paloaltonetworkshttps://galaxy.ansible.com/api/v1/roles/16926/versions/?page_size=50- downloading role from https://github.com/PaloAltoNetworks/ansible-role-paloaltonetworks/archive/V184.108.40.206.tar.gz- extracting PaloAltoNetworks.paloaltonetworks to /etc/ansible/roles/PaloAltoNetworks.paloaltonetworks- extracting PaloAltoNetworks.paloaltonetworks to /usr/share/ansible/roles/PaloAltoNetworks.paloaltonetworksERROR! Unexpected Exception, this is probably a bug: list index out of rangethe full traceback was:Traceback (most recent call last):File "/usr/bin/ansible-galaxy", line 106, in <module>exit_code = cli.run()File "/usr/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 150, in runself.execute()File "/usr/lib/python2.7/site-packages/ansible/cli/__init__.py", line 154, in executefn()File "/usr/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 392, in execute_installinstalled = role.install()File "/usr/lib/python2.7/site-packages/ansible/galaxy/role.py", line 332, in installself.path = self.paths[nextidx]IndexError: list index out of range