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/checkpoint_task_facts.pyo

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
dd
lmZddlZd�Zd�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatustnetworktsupported_bys�
---
module: checkpoint_task_facts
short_description: Get task objects facts on Check Point over Web Services API
description:
  - Get task objects facts on Check Point devices.
    All operations are performed over Web Services API.
version_added: "2.8"
author: "Ansible by Red Hat (@rcarrillocruz)"
options:
  task_id:
    description:
      - ID of the task object.
    type: str
    required: True
sc
- name: Get task facts
  checkpoint_task_facts:
    task_id: 2eec70e5-78a8-4bdb-9a76-cfb5601d0bcb
s[
ansible_facts:
  description: The checkpoint task facts.
  returned: always.
  type: list
(t
AnsibleModule(t
Connection(t	HTTPErrorNcC`sd|jd}|rBi|d6dd6}|jd|�\}}n|jdd�\}}||fS(Nttask_idstask-idtfulls
details-levels/web_api/show-tasks/web_api/show-tasks(tparamstsend_requesttNone(tmodulet
connectionRtpayloadtcodetresponse((s]/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/checkpoint_task_facts.pytget_taskAs


cC`s�tdtdd��}td|�}t|j�}t||�\}}|dkrs|jdtd|��n|jdd	j||��dS(
NRttypetstrt
argument_speci�t
ansible_factstcheckpoint_taskstmsgs5Checkpoint device returned error {0} with message {1}(tdictRR	t_socket_pathRt	exit_jsont	fail_jsontformat(RRRRR((s]/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/checkpoint_task_facts.pytmainOst__main__(t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRtansible.module_utils.connectionR	t+ansible.module_utils.six.moves.urllib.errorR
tjsonRR!t__name__(((s]/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/checkpoint_task_facts.pyt<module>s


		

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