Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/vars/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/vars/hostvars.pyc

�
�Udac@`s�ddlmZmZmZeZddlmZddlm	Z	ddl
mZddddd	d
ddd
dddddddgZddgZ
de	fd��YZde	fd��YZdS(i(tabsolute_importtdivisiontprint_function(t	Undefined(tMapping(tTemplartansible_versiontansible_play_hoststansible_dependent_role_namestansible_play_role_namestansible_role_namestinventory_hostnametinventory_hostname_shorttinventory_filet
inventory_dirtgroupstgroup_namestomittplaybook_dirt
play_hostst
role_namest	ungroupedtHostVarstHostVarsVarscB`s�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�ZRS(sO A special view of vars_cache that adds values from the inventory when needed. cC`s4t�|_||_||_||_||_dS(N(tdictt_lookupt
_inventoryt_loadert_variable_managert	_hostvars(tselft	inventorytvariable_managertloader((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__init__5s
			cC`s||_||_dS(N(RR(RR ((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pytset_variable_manager<s	cC`s
||_dS(N(R(RR((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt
set_inventory@scC`s|jj|�S(N(Rtget_host(Rt	host_name((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt
_find_hostCscC`sE|j|�}|dkr,tdd|�S|jjd|dt�S(s�
        Similar to __getitem__, however the returned data is not run through
        the templating engine to expand variables in the hostvars.
        tnameshostvars['%s']thosttinclude_hostvarsN(R'tNoneRRtget_varstFalse(RR&R)((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pytraw_getGscC`s5|j|�}t|t�r"|St|d|j�S(NR!(R.t
isinstanceRRR(RR&tdata((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__getitem__RscC`s|jj|||�dS(N(Rtset_host_variable(RR)tvarnametvalue((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR2XscC`s|jj||�dS(N(Rtset_nonpersistent_facts(RR)tfacts((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR5[scC`s|jj||�dS(N(Rtset_host_facts(RR)R6((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR7^scC`s|j|�dk	S(N(R'R+(RR&((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__contains__ascc`s x|jjD]}|Vq
WdS(N(Rthosts(RR)((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__iter__escC`st|jj�S(N(tlenRR9(R((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__len__iscC`s:i}x'|jjD]}|j|�||<qWt|�S(N(RR9tgettrepr(RtoutR)((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__repr__lscC`s|S(N((Rtmemo((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt__deepcopy__rs(t__name__t
__module__t__doc__R"R#R$R'R.R1R2R5R7R8R:R<R@RB(((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR2s													cB`s>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cC`s||_||_dS(N(t_varsR(Rt	variablesR!((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR"{s	cC`sAtd|jd|j�}|j|j|dtdt�}|S(NRGR!tfail_on_undefinedtstatic_vars(RRFRttemplateR-tSTATIC_VARS(Rtvarttemplartfoo((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR1s"cC`s
||jkS(N(RF(RRL((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR8�scc`s#x|jj�D]}|VqWdS(N(RFtkeys(RRL((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR:�scC`st|jj��S(N(R;RFRO(R((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR<�scC`s=td|jd|j�}t|j|jdtdt��S(NRGR!RHRI(RRFRR>RJR-RK(RRM((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyR@�s(RCRDR"R1R8R:R<R@(((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyRys					N(t
__future__RRRttypet
__metaclass__tjinja2.runtimeRt/ansible.module_utils.common._collections_compatRtansible.templateRRKt__all__RR(((s9/usr/lib/python2.7/site-packages/ansible/vars/hostvars.pyt<module>s.	G

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