checkpoint_run_script – Run scripts on Checkpoint devices over Web Services API

From Get docs
Ansible/docs/2.8/modules/checkpoint run script module


checkpoint_run_script – Run scripts on Checkpoint devices over Web Services API

New in version 2.8.


Synopsis

  • Run scripts on Checkpoint devices. All operations are performed over Web Services API.

Parameters

Parameter Choices/Defaults Comments

script

string / required

Script body contents.

script_name

string / required

Name of the script.

targets

list / required

Targets the script should be run against. Can reference either name or UID.



Examples

- name: Run script
  checkpoint_run_script:
    script_name: "List root"
    script: ls -l /
    targets:
      - mycheckpointgw

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description

checkpoint_run_script

list

always.

The checkpoint run script output.





Status

Red Hat Support

More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.

Authors

  • Ansible by Red Hat (@rcarrillocruz)

Hint

If you notice any issues in this documentation you can edit this document to improve it.


© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/modules/checkpoint_run_script_module.html