??????????????
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œddlmZmZmZeZdZdZdZddl Z ddl Z ddl m Z ddl mZddlmZmZd e fd „ƒYZdS( i(tabsolute_importtdivisiontprint_functions  lookup: fileglob author: Michael DeHaan version_added: "1.4" short_description: list files matching a pattern description: - Matches all files in a single directory, non-recursively, that match a pattern. It calls Python's "glob" library. options: _terms: description: path(s) of files to read required: True notes: - Patterns are only supported on files, not directory/paths. - Matching is against local system files on the Ansible controller. To iterate a list of files on a remote node, use the M(find) module. - Returns a string list of paths joined by commas, or an empty list if no files match. For a 'true list' pass C(wantlist=True) to the lookup. s/ - name: Display paths of all .txt files in dir debug: msg={{ lookup('fileglob', '/my/path/*.txt') }} - name: Copy each file over that matches the given pattern copy: src: "{{ item }}" dest: "/etc/fooapp/" owner: "root" mode: 0600 with_fileglob: - "/playbooks/files/fooapp/*" s1 _list: description: - list of files N(t LookupBase(tAnsibleFileNotFound(tto_bytestto_textt LookupModulecB`seZdd„ZRS(c K`s4g}x'|D]}tjj|ƒ}g}||krb|j|j|dtjj|ƒƒƒned|kr{|d}n|j|ƒg}x7|D]/} |jtjj| dƒƒ|j| ƒq”Wxb|D]Z} | rÎtjt tjj| |ƒddƒƒ} |j d„| Dƒƒ|r(Pq(qÎqÎWq W|S(Ntfilestansible_search_pathterrorstsurrogate_or_strictcs`s3|])}tjj|ƒrt|ddƒVqdS(R R N(tostpathtisfileR(t.0tg((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/fileglob.pys Ms( R R tbasenametappendtfind_file_in_search_pathtdirnamet get_basedirtjointglobRtextend( tselfttermst variablestkwargstretttermt term_filet found_pathstpathstpt dwimmed_pathtglobbed((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/fileglob.pytrun8s&  +    *N(t__name__t __module__tNoneR%(((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/fileglob.pyR6s(t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNR Rtansible.plugins.lookupRtansible.errorsRtansible.module_utils._textRRR(((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/fileglob.pyts