ansible-pan | Ansible modules for Palo Alto Networks NGFWs | Job Orchestrator library

 by   PaloAltoNetworks Python Version: v2.4.1 License: Apache-2.0

kandi X-RAY | ansible-pan Summary

kandi X-RAY | ansible-pan Summary

ansible-pan is a Python library typically used in Data Processing, Job Orchestrator, Ansible applications. ansible-pan has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Ansible modules for Palo Alto Networks NGFWs
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ansible-pan has a low active ecosystem.
              It has 201 star(s) with 151 fork(s). There are 66 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 22 open issues and 196 have been closed. On average issues are closed in 194 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ansible-pan is v2.4.1

            kandi-Quality Quality

              ansible-pan has 0 bugs and 0 code smells.

            kandi-Security Security

              ansible-pan has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ansible-pan code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ansible-pan is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ansible-pan releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              ansible-pan saves you 8609 person hours of effort in developing the same functionality from scratch.
              It has 19050 lines of code, 175 functions and 104 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ansible-pan and discovered the below as its top functions. This is intended to give you an instant insight into ansible-pan implemented functionality, and help decide if they suit your requirements.
            • Process a module
            • Check if a string is too old
            • Write data to output directory
            • Process a category
            • Print the module
            • Convert rst to rst
            • Set the password for an ip_address
            • Wait for a prompt
            • Set an admin role
            • Checks if an admin exists
            • Get a list of services
            • Generate a certificate
            • Return a connection
            • Create a Jinja2 environment
            • Convert an element to a dictionary
            • Import a file
            • Return True if the object matches the given field
            • Get parent from pandevice
            • Return True if port is in SVCC
            • Lists all modules in the given directory
            • Commit changes
            • Creates a new AddressObject
            • Apply position
            • Apply a state to an object
            • Return a dictionary of configuration options
            • Create nat rule
            Get all kandi verified functions for this library.

            ansible-pan Key Features

            No Key Features are available at this moment for ansible-pan.

            ansible-pan Examples and Code Snippets

            No Code Snippets are available at this moment for ansible-pan.

            Community Discussions

            Trending Discussions on ansible-pan

            QUESTION

            How to use a 'list' variable within this task
            Asked 2019-Jul-15 at 19:00

            I am new to Ansible and am currently working to put together a playbook to deploy some Palo Alto configuration using the following modules:

            https://github.com/PaloAltoNetworks/ansible-pan

            I have been at this thing for a week now trying to work it out and I can't quite figure out why this 'list' isn't working. In summary, this code connects to the firewall, creates a new address object and if a 'service' variable exists that says http or https then it will add this object to an existing firewall address group.

            The problem is with the addition to the firewall group. The task that accomplishes this seems to overwrite the existing objects within the group instead of appending to it.

            To try and combat this I have a task that 'finds' the existing objects (results are within a dictionary which I then to a list variable. This variable + the new server variable are then used in the 'static_value' job to update the address group. This doesn't seem to work and looks like it is exceeding a character limit as if it is one string.

            I have also attempted to re-add the existing objects on their own and this also fails with the following:

            ...

            ANSWER

            Answered 2019-Jul-15 at 19:00

            Disclaimer This is a totally blind debugging as I can't reproduce anything from your original post. Always consider making minimal reproducible examples if this is possible.

            The inline documentation of your module for the static_value parameter clearly states it's waiting for a list of 'address objects':

            Source https://stackoverflow.com/questions/57042655

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ansible-pan

            The recommended way to install the modules is installing the Palo Alto Networks Ansible Galaxy role:.

            Support

            This template/solution is released under an as-is, best effort, support policy. These scripts should be seen as community supported and Palo Alto Networks will contribute our expertise as and when possible. We do not provide technical support or help in using or troubleshooting the components of the project through our normal support options such as Palo Alto Networks support teams, or ASC (Authorized Support Centers) partners and backline support options. The underlying product used (the VM-Series firewall) by the scripts or templates are still supported, but the support is only for the product functionality and not for help in deploying or using the template or script itself. Unless explicitly tagged, all projects or work posted in our GitHub repository (at https://github.com/PaloAltoNetworks) or sites other than our official Downloads page on https://support.paloaltonetworks.com are provided under the besteffort policy.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/PaloAltoNetworks/ansible-pan.git

          • CLI

            gh repo clone PaloAltoNetworks/ansible-pan

          • sshUrl

            git@github.com:PaloAltoNetworks/ansible-pan.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Job Orchestrator Libraries

            lens

            by lensapp

            bolt

            by puppetlabs

            swan

            by Dataman-Cloud

            kube-cluster-osx

            by TheNewNormal

            Try Top Libraries by PaloAltoNetworks

            WireLurkerDetector

            by PaloAltoNetworksPython

            pan-os-python

            by PaloAltoNetworksPython

            docusaurus-openapi-docs

            by PaloAltoNetworksTypeScript

            rbac-police

            by PaloAltoNetworksGo

            iron-skillet

            by PaloAltoNetworksPython