Note
This plugin is part of the check_point.mgmt collection.
To install it use: ansible-galaxy collection install check_point.mgmt.
To use it in a playbook, specify: check_point.mgmt.checkpoint_run_script.
New in version 2.7: of check_point.mgmt
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| script string / required | Script body contents. | |
| script_name string / required | Name of the script. | |
| targets list / elements=string / required | Targets the script should be run against. Can reference either name or UID. |
- name: Run script
checkpoint_run_script:
script_name: "List root"
script: ls -l /
targets:
- mycheckpointgw
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
| checkpoint_run_script list / elements=string | always. | The checkpoint run script output. |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/check_point/mgmt/checkpoint_run_script_module.html