??????????????
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 m Z ddl m Z e jdd ƒZe jd d ƒZd efd „ƒYZde fd„ƒYZdS(i(tabsolute_importtdivisiontprint_functions­ author: - Juan Manuel Parrilla (@jparrill) lookup: hiera version_added: "2.4" short_description: get info from hiera data requirements: - hiera (command line utility) description: - Retrieves data from an Puppetmaster node using Hiera as ENC options: _hiera_key: description: - The list of keys to lookup on the Puppetmaster type: list element_type: string required: True _bin_file: description: - Binary file to execute Hiera default: '/usr/bin/hiera' env: - name: ANSIBLE_HIERA_BIN _hierarchy_file: description: - File that describes the hierarchy of Hiera default: '/etc/hiera.yaml' env: - name: ANSIBLE_HIERA_CFG # FIXME: incomplete options .. _terms? environment/fqdn? sŒ # All this examples depends on hiera.yml that describes the hierarchy - name: "a value from Hiera 'DB'" debug: msg={{ lookup('hiera', 'foo') }} - name: "a value from a Hiera 'DB' on other environment" debug: msg={{ lookup('hiera', 'foo environment=production') }} - name: "a value from a Hiera 'DB' for a concrete node" debug: msg={{ lookup('hiera', 'foo fqdn=puppet01.localdomain') }} sf _raw: description: - a value associated with input key type: strings N(t LookupBase(trun_cmdtANSIBLE_HIERA_CFGs/etc/hiera.yamltANSIBLE_HIERA_BINs/usr/bin/hieratHieracB`seZd„ZRS(cC`s[tg}|jdtgƒ|j|ƒtdjtt|dƒƒ\}}}|jƒS(Ns-cs{0} -c {1} {2}i(RtextendRRtformattstrip(tselft hiera_keytpargstrctoutputterr((s@/usr/lib/python2.7/site-packages/ansible/plugins/lookup/hiera.pytgetEs    (t__name__t __module__R(((s@/usr/lib/python2.7/site-packages/ansible/plugins/lookup/hiera.pyRDst LookupModulecB`seZdd„ZRS(tcC`s)tƒ}g}|j|j|ƒƒ|S(N(RtappendR(R ttermst variablesthieratret((s@/usr/lib/python2.7/site-packages/ansible/plugins/lookup/hiera.pytrunRs (RRR(((s@/usr/lib/python2.7/site-packages/ansible/plugins/lookup/hiera.pyRQs(t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNtostansible.plugins.lookupRtansible.utils.cmd_functionsRtgetenvRRtobjectRR(((s@/usr/lib/python2.7/site-packages/ansible/plugins/lookup/hiera.pyts