??????????????
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× d d l m Z m Z m Z e Z d d l Z d d l m Z d d l
m Z d d l m
Z
d d l m Z d d l m Z m Z d d l m Z d d l m Z d d
l m Z e ƒ Z d e f d „ ƒ YZ d S(
i ( t absolute_importt divisiont print_functionN( t constants( t AnsibleError( t Group( t Host( t iteritemst string_types( t Display( t combine_vars( t basedirt
InventoryDatac B` s‰ e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d d d „ Z d
„ Z
d „ Z d „ Z d
„ Z RS( s
Holds inventory data (host and group objects).
Using it's methods should guarantee expected relationships and data.
c C` s_ i | _ i | _ i | _ d | _ d | _ x d D] } | j | ƒ q4 W| j d d ƒ d S( Nt allt ungrouped( s allR ( t groupst hostst _groups_dict_cachet Nonet localhostt current_sourcet add_groupt add_child( t selft group( ( s: /usr/lib/python2.7/site-packages/ansible/inventory/data.pyt __init__* s
c C` s; d | _ i | j d 6| j d 6| j d 6| j d 6} | S( NR R t localt source( R R R R R R ( R t data( ( s: /usr/lib/python2.7/site-packages/ansible/inventory/data.pyt serialize= s
c C` sU i | _ | j d ƒ | _ | j d ƒ | _ | j d ƒ | _ | j d ƒ | _ d S( NR R R R ( R t getR R R R ( R R ( ( s: /usr/lib/python2.7/site-packages/ansible/inventory/data.pyt deserializeG s
c C` s… | j r | j } nl t | ƒ } d | _ t | _ t j } | sX d } t j d ƒ n | j d | ƒ | j d d ƒ | | _ | 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 localhostt ansible_python_interpretert ansible_connectionR (
R R t addresst Truet implicitt syst
executablet displayt warningt set_variable( R t patternt new_hostt py_interp( ( s: /usr/lib/python2.7/site-packages/ansible/inventory/data.pyt _create_implicit_localhostN s c C` sÜ t j d ƒ d | _ t ƒ } x` | j D]U } | j | } | j | j ƒ | j d k r) | j ƒ r) | j d | j ƒ q) q) Wt ƒ } x| j
j ƒ D]} | j | j ƒ | j ƒ } | j d | k rt | ƒ j
t | j d | j d g ƒ ƒ rr| j d j | ƒ qrnY | j srt | ƒ } | d k sY| d k rr| j d | k rr| j d | j ƒ qrn | j r› t | j d j ƒ | j ƒ | _ q› q› Wx( | j | ƒ D] } t j d | ƒ q´Wi | _ d S( s1 Ensure inventory basic rules, run after updates s( Reconcile groups and hosts in inventory.R
R i i s, Found both group and host with same name: %sN( R' t debugR R t setR t addt namet
get_ancestorsR R t valuest
get_groupst
differencet remove_hostR$ t lenR
t get_varst varst intersectionR( R ( R t group_namest gR t
host_namest hostt mygroupst lengtht conflict( ( s: /usr/lib/python2.7/site-packages/ansible/inventory/data.pyt reconcile_inventoryf s0
/ + )c C` sF | j j | d ƒ } | d k rB | t j k rB | j | ƒ } n | S( s; fetch host object using name deal with implicit localhost N( R R R t Ct LOCALHOSTR- ( R t hostnamet
matching_host( ( s: /usr/lib/python2.7/site-packages/ansible/inventory/data.pyt get_host’ s c C` s | r® t | t ƒ s4 t d t | ƒ | f ƒ ‚ n | | j k rš t | ƒ } | j | j k rŽ | | j | j