Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/network/check_point/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_run_script.pyo

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
mZd
�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys�
---
module: cp_mgmt_run_script
short_description: Executes the script on a given list of targets.
description:
  - Executes the script on a given list of targets.
  - All operations are performed over Web Services API.
version_added: "2.9"
author: "Or Soffer (@chkp-orso)"
options:
  script_name:
    description:
      - Script name.
    type: str
  script:
    description:
      - Script body.
    type: str
  targets:
    description:
      - On what targets to execute this command. Targets may be identified by their name, or object unique identifier.
    type: list
  args:
    description:
      - Script arguments.
    type: str
  comments:
    description:
      - Comments string.
    type: str
extends_documentation_fragment: checkpoint_commands
s�
- name: run-script
  cp_mgmt_run_script:
    script: ls -l /
    script_name: 'Script Example: List files under / dir'
    targets:
    - corporate-gateway
sg
cp_mgmt_run_script:
  description: The checkpoint run-script output.
  returned: always.
  type: dict
(t
AnsibleModule(t%checkpoint_argument_spec_for_commandstapi_commandc
C`s�tdtdd�dtdd�dtdd�dtdd�dtdd��}|jt�td	|�}d
}t||�}|j|�dS(Ntscript_namettypetstrtscriptttargetstlisttargstcommentst
argument_specs
run-script(tdicttupdateR	RR
t	exit_json(Rtmoduletcommandtresult((sZ/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_run_script.pytmainQs
t__main__N(t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt2ansible.module_utils.network.checkpoint.checkpointR	R
Rt__name__(((sZ/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_run_script.pyt<module>s


!		

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]