Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/module_utils/facts/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/module_utils/facts/compat.pyc

�
�Udac@`skddlmZmZmZeZddlmZddlm	Z	ddlm
Z
d�Zdd�Z
dS(i(tabsolute_importtdivisiontprint_function(tPrefixFactNamespace(tdefault_collectors(tansible_collectorcC`s|jd}t|d|�S(scompat api for ansible 2.2/2.3 module_utils.facts.get_all_facts method

    Expects module to be an instance of AnsibleModule, with a 'gather_subset' param.

    returns a dict mapping the bare fact name ('default_ipv4' with no 'ansible_' namespace) to
    the fact value.t
gather_subset(tparamst
ansible_facts(tmoduleR((sE/usr/lib/python2.7/site-packages/ansible/module_utils/facts/compat.pyt
get_all_facts%s
c	C`s�|p|jjddg�}|jjdd�}|jjdd�}tddd	d
ddd
ddddddddddg�}tj}tdddd�}tjd|d|d|d|d|d|�}|jd |�}|S(!s�Compat api for ansible 2.0/2.2/2.3 module_utils.facts.ansible_facts method

    2.3/2.3 expects a gather_subset arg.
    2.0/2.1 does not except a gather_subset arg

    So make gather_subsets an optional arg, defaulting to configured DEFAULT_GATHER_TIMEOUT

    'module' should be an instance of an AnsibleModule.

    returns a dict mapping the bare fact name ('default_ipv4' with no 'ansible_' namespace) to
    the fact value.
    Rtalltgather_timeouti
tfiltert*tapparmortcapstcmdlinet	date_timetdistributiontdnstenvtfipstlocaltlsbtpkg_mgrtplatformtpythontselinuxtservice_mgrtssh_pub_keystusertnamespace_nametansibletprefixttall_collector_classest	namespacetfilter_spectminimal_gather_subsetR	(	Rtgett	frozensetRt
collectorsRRtget_ansible_collectortcollect(	R	RRR&R'R$R%tfact_collectort
facts_dict((sE/usr/lib/python2.7/site-packages/ansible/module_utils/facts/compat.pyR1s"		N(t
__future__RRRttypet
__metaclass__t$ansible.module_utils.facts.namespaceRtansible.module_utils.factsRRR
tNoneR(((sE/usr/lib/python2.7/site-packages/ansible/module_utils/facts/compat.pyt<module>s	

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