Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/system/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/system/ohai.pyo

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zdd
l	Z	ddl
mZd�Ze
d
kr�e�nd
S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys�
---
module: ohai
short_description: Returns inventory data from I(Ohai)
description:
     - Similar to the M(facter) module, this runs the I(Ohai) discovery program
       (U(https://docs.chef.io/ohai.html)) on the remote host and
       returns JSON inventory data.
       I(Ohai) data is a bit more verbose and nested than I(facter).
version_added: "0.6"
options: {}
notes: []
requirements: [ "ohai" ]
author:
    - "Ansible Core Team"
    - "Michael DeHaan (@mpdehaan)"
s|
# Retrieve (ohai) data from all Web servers and store in one-file per host
ansible webservers -m ohai --tree=/tmp/ohaidata
N(t
AnsibleModulecC`sVtdt��}ddg}|j|dt�\}}}|jtj|��dS(Nt
argument_specs/usr/bin/envtohaitcheck_rc(Rtdicttrun_commandtTruet	exit_jsontjsontloads(tmoduletcmdtrctoutterr((s?/usr/lib/python2.7/site-packages/ansible/modules/system/ohai.pytmain*s
t__main__(t
__future__RRRttypet
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLESRtansible.module_utils.basicRRt__name__(((s?/usr/lib/python2.7/site-packages/ansible/modules/system/ohai.pyt<module>s


		

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