community.general.checkpoint_run_script (0.1.1) — module

Run scripts on Check Point devices over Web Services API

Authors: Ansible by Red Hat (@rcarrillocruz)

preview | supported by network

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Run scripts on Check Point devices. All operations are performed over Web Services API.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Run script
  checkpoint_run_script:
    script_name: "List root"
    script: ls -l /
    targets:
      - mycheckpointgw

Inputs

    
script:
    description:
    - Script body contents.
    required: true
    type: str

targets:
    description:
    - Targets the script should be run against. Can reference either name or UID.
    required: true
    type: list

script_name:
    description:
    - Name of the script.
    required: true
    type: str

Outputs

checkpoint_run_script:
  description: The checkpoint run script output.
  returned: always.
  type: list