??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó ßUdac@`s×ddlmZmZmZeZddlZddlmZ ddl m Z ddl m Z ddlmZddlmZmZddlmZdd lmZdd lmZeƒZd efd „ƒYZdS( i(tabsolute_importtdivisiontprint_functionN(t constants(t AnsibleError(tGroup(tHost(t iteritemst string_types(tDisplay(t combine_vars(tbasedirt InventoryDatacB`s‰eZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z ddd „Z d „Z d „Zd „Zd „ZRS(s Holds inventory data (host and group objects). Using it's methods should guarantee expected relationships and data. cC`s_i|_i|_i|_d|_d|_xdD]}|j|ƒq4W|jddƒdS(Ntallt ungrouped(sallR(tgroupsthostst_groups_dict_cachetNonet localhosttcurrent_sourcet add_groupt add_child(tselftgroup((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyt__init__*s      cC`s;d|_i|jd6|jd6|jd6|jd6}|S(NRRtlocaltsource(RRRRRR(Rtdata((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyt serialize=s     cC`sUi|_|jdƒ|_|jdƒ|_|jdƒ|_|jdƒ|_dS(NRRRR(RtgetRRRR(RR((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyt deserializeGs  cC`s…|jr|j}nlt|ƒ}d|_t|_tj}|sXd}tjdƒn|j d|ƒ|j ddƒ||_|S(Ns 127.0.0.1s/usr/bin/pythons£Unable to determine python interpreter from sys.executable. Using /usr/bin/python default. You can correct this by setting ansible_python_interpreter for localhosttansible_python_interpretertansible_connectionR( RRtaddresstTruetimplicittsyst executabletdisplaytwarningt set_variable(Rtpatterntnew_hostt py_interp((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyt_create_implicit_localhostNs       c C`sÜtjdƒd|_tƒ}x`|jD]U}|j|}|j|jƒ|jdkr)|jƒ r)|j d|jƒq)q)Wtƒ}x|j j ƒD]}|j|jƒ|j ƒ}|jd|krt|ƒj t|jd|jdgƒƒrr|jdj|ƒqrnY|jsrt|ƒ}|dksY|dkrr|jd|krr|j d|jƒqrn|jr›t|jdjƒ|jƒ|_q›q›Wx(|j|ƒD]}tjd|ƒq´Wi|_dS(s1 Ensure inventory basic rules, run after updates s(Reconcile groups and hosts in inventory.R Riis,Found both group and host with same name: %sN(R'tdebugRRtsetRtaddtnamet get_ancestorsRRtvaluest get_groupst differencet remove_hostR$tlenR tget_varstvarst intersectionR(R( Rt group_namestgRt host_namesthosttmygroupstlengthtconflict((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pytreconcile_inventoryfs0      /  + )cC`sF|jj|dƒ}|dkrB|tjkrB|j|ƒ}n|S(s; fetch host object using name deal with implicit localhost N(RRRtCt LOCALHOSTR-(Rthostnamet matching_host((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pytget_host’scC`sÂ|r®t|tƒs4tdt|ƒ|fƒ‚n||jkršt|ƒ}|j|jkrŽ||j|jth((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyRJ²s   cC`sÑ|r½t|tƒs4tdt|ƒ|fƒ‚nd }|rr||jkr_|j|}qrtd|ƒ‚n||jkrwt||ƒ}||j|<|jrÛ|j |d|jƒ|j |dt |jƒƒn&|j |dd ƒ|j |dd ƒt j d|ƒ|t jkr„|jd krT|j||_t jd|ƒqtt jd||jjfƒq„n |j|}|rÍ|j|ƒi|_t j d||fƒqÍntd |ƒ‚|S( sD adds a host to inventory and possibly a group if not there already s?Invalid host name supplied, expected a string but got %s for %ss$Could not find group %s in inventorytinventory_filet inventory_dirsAdded host %s to inventorysSet default localhost to %ssMA duplicate localhost-like entry was found (%s). First found localhost was %ssAdded host %s to group %ss$Invalid empty host name provided: %sN(RHRRRIRRRRRR)R R'R.RCRDRtvvvvR(R1tadd_hostR(RR>RtportR<RK((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyRO½s:  #   cC`sT|j|jkr"|j|j=nx+|jD] }|j|}|j|ƒq,WdS(N(R1RRR6(RR>RR<((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyR6ês  cC`sy||jkr|j|}n/||jkr>|j|}ntd|ƒ‚|j||ƒtjd||fƒdS(s) sets a variable for an inventory object s)Could not identify group or host named %ss set %s for %sN(RRRR)R'R.(Rtentitytvarnametvaluet inv_object((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyR)óscC`s¹t}||jkr¥|j|}||jkrJ|j|j|ƒ}n8||jkrr|j|j|ƒ}ntd|ƒ‚i|_tjd||fƒntd|ƒ‚|S(s Add host or group to group s %s is not a known host nor groupsGroup %s now contains %ss%s is not a known group( tFalseRtadd_child_groupRRORRR'R.(RRtchildtaddedR<((s:/usr/lib/python2.7/site-packages/ansible/inventory/data.pyRs  cC`s\|jsUxIt|jƒD]5\}}g|jƒD]}|j^q2|j|s