pan_community.skillet.panos_validate (1.0.6) — module

Execute 'pan_validation' type skillet

| "added in version" 0.1 of pan_community.skillet"

Authors: Andrew Mallory (@andrewmallory)

preview | supported by community

Install collection

Install with ansible-galaxy collection install pan_community.skillet:==1.0.6


Add to requirements.yml

  collections:
    - name: pan_community.skillet
      version: 1.0.6

Description

This module executes a panos skillet on the target host

This module does not provide guards of any sort, so USE AT YOUR OWN RISK.

Refer to the Skillet documentation for more details

https://docs.paloaltonetworks.com/pan-os.html


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Grab configuration variables
  include_vars: 'vars.yml'
  no_log: 'yes'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Executes IronSkillet Validation
  panos_validate::
    provider: '{{ provider }}'
    skillet: validate-IronSkillet-v10_0-panos-bae945bc-c667-4e56-a3fc-73bbb5afbe0d
    skillet_path: /var/tmp/skillets/iron-skillet
    vars: '{{ skillet_vars }}'

Inputs

    
vars:
    description:
    - a dict of variables as required by the skillet to be executed
    - If no vars are given then the default values from the skillet are used
    required: false
    type: complex

skillet:
    description:
    - The id of the skillet to execute
    required: true

skillet_path:
    description:
    - The path where one or more skillets will be loaded from
    required: true

Outputs

stdout:
  description: output (if any) of the given skillet as JSON formatted string
  returned: success
  sample: '{entry: {@name: dmz-block, ip-netmask: 192.168.55.0/24, description: Address
    CIDR for sales org}}'
  type: string