- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-30-2021 12:11 PM
Hello Everyone,
Asrar here... Thanks in advance.
I am in the process of creating services ports(bulk) and then add them to the a service port group.
2.Make address objects (Again in bulk).
3.Configuring a rule using the address objects, Service group created earlier.
Wanted to automate this whole task so as to speed this up. Any help in this will be highly appreciated.
I am pretty much novice in python and automating tasks using apis(with post man)
09-30-2021 04:12 PM
Would recommend using the Ansible collection or the Terraform provider
10-01-2021 11:33 PM
It seems i will have to download ansible and Then in the playbooks specify i need to use pan-os collection.
But i dont think i can install ansible directly on windows . This can only be installed on linux or centos or any vm. otherwise i will have to install something called cygwin which i do suppose is open source . is there any security related issue with installing that.
Also how i will make the ansible installed on cygwin talk with my firewall api any idea.
Thanks
10-02-2021 03:14 AM
Yes, I don't think many of the IaC tools like Ansible and Terraform have Windows binaries for execution. If you're desperate to run these tools from your own machine, another option besides Cygwin is WSL (https://docs.microsoft.com/en-us/windows/wsl/about). However, you may wish to consider how using IaC tools will scale, and executing them from a centralised place as opposed to a Windows workstation. Both tools have options, including supported enterprise versions, and can also be executed with pipelines too.
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!