??????????????
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 m Z d d l m Z d d l
m Z d d l m
Z
e
ƒ Z d g Z d e f d „ ƒ YZ d S( i ( t absolute_importt divisiont print_function( t abstractmethod( t AnsibleFileNotFound( t
AnsiblePlugin( t Displayt
LookupBasec B` sk e Z d d d „ Z d „ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d d „ ƒ Z
e d „ Z RS( c K` s2 t t | ƒ j ƒ | | _ | | _ t | _ d S( N( t superR t __init__t _loadert _templart displayt _display( t selft loadert templart kwargs( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyR # s c C` s% d | k r | d S| j j ƒ Sd S( Nt role_path( R
t get_basedir( R t variables( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyR - s c C` sM g } x@ | D]8 } t | t t f ƒ r8 | j | ƒ q
| j | ƒ q
W| S( N( t
isinstancet listt tuplet extendt append( t termst rett term( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyt _flatten3 s
c C` sH g } x; | D]3 } x* | D]" } | j t j | | g ƒ ƒ q Wq
W| S( N( R R R ( t at bt resultst xt y( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyt _combine= s
$c C` s: g } x- | D]% } | j i | d 6| | d 6ƒ q
W| S( Nt keyt value( R ( R R R$ ( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyt _flatten_hash_to_listE s
#c K` s d S( sÁ
When the playbook specifies a lookup, this method is run. The
arguments to the lookup become the arguments to this method. One
additional keyword argument named ``variables`` is added to the method
call. It contains the variables available to ansible at the time the
lookup is templated. For instance::
"{{ lookup('url', 'https://toshio.fedorapeople.org/one.txt', validate_certs=True) }}"
would end up calling the lookup plugin named url's run method like this::
run(['https://toshio.fedorapeople.org/one.txt'], variables=available_variables, validate_certs=True)
Lookup plugins can be used within playbooks for looping. When this
happens, the first argument is a list containing the terms. Lookup
plugins can also be called from within playbooks to return their
values into a variable or parameter. If the user passes a string in
this case, it is converted into a list.
Errors encountered during execution should be returned by raising
AnsibleError() with a message describing the error.
Any strings returned by this method that could ever contain non-ascii
must be converted into python's unicode type as the strings will be run
through jinja2 which has this requirement. You can use::
from ansible.module_utils._text import to_text
result_string = to_text(result_string)
N( ( R R R R ( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyt runL s c C` s‚ d | k r | d } n | j | ƒ g } d } y | j j | | | ƒ } Wn. t k
r} | s~ | j j d | ƒ q~ n X| S( sL
Return a file (needle) in the task's expected search path.
t ansible_search_paths? Unable to find '%s' in expected paths (use -vvvvv to see paths)N( R t NoneR
t path_dwim_relative_stackR R
t warning( R t myvarst subdirt needlet ignore_missingt pathst result( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/__init__.pyt find_file_in_search_pathl s
N(
t __name__t
__module__R) R R t staticmethodR R# R&