pan_community.skillet.panos_skillet (1.0.6) — module

Execute 'panos' type skillet

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

Authors: Nathan Embery (@nembery)

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 IronSkillet configuration variables
  include_vars: 'vars.yml'
  no_log: 'yes'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Executes IronSkillet
  panos_skillet:
    provider: '{{ provider }}'
    skillet: skillet_full_panos_v81
    skillet_path: /var/tmp/skillets/iron-skillet
    vars: '{{ iron_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