??????????????
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 m Z ddl m Z ddl mZde fd „ƒYZd S( i(tabsolute_importtdivisiontprint_functions´ lookup: dict version_added: "1.5" short_description: returns key/value pair items from dictionaries description: - Takes dictionaries as input and returns a list with each item in the list being a dictionary with 'key' and 'value' as keys to the previous dictionary's structure. options: _terms: description: - A list of dictionaries required: True s´ vars: users: alice: name: Alice Appleworth telephone: 123-456-7890 bob: name: Bob Bananarama telephone: 987-654-3210 tasks: # with predefined vars - name: Print phone records debug: msg: "User {{ item.key }} is {{ item.value.name }} ({{ item.value.telephone }})" loop: "{{ lookup('dict', users) }}" # with inline dictionary - name: show dictionary debug: msg: "{{item.key}}: {{item.value}}" with_dict: {a: 1, b: 2, c: 3} # Items from loop can be used in when: statements - name: set_fact when alice in key set_fact: alice_exists: true loop: "{{ lookup('dict', users) }}" when: "'alice' in item.key" sb _list: description: - list of composed dictonaries with key and value type: list (t AnsibleError(t LookupBase(tMappingt LookupModulecB`seZdd„ZRS(cK`sjt|tƒs|g}ng}xB|D]:}t|tƒsLtdƒ‚n|j|j|ƒƒq(W|S(Nswith_dict expects a dict(t isinstancetlistRRtextendt_flatten_hash_to_list(tselfttermst variablestkwargstresultstterm((s?/usr/lib/python2.7/site-packages/ansible/plugins/lookup/dict.pytrun?s  N(t__name__t __module__tNoneR(((s?/usr/lib/python2.7/site-packages/ansible/plugins/lookup/dict.pyR=sN(t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNtansible.errorsRtansible.plugins.lookupRt/ansible.module_utils.common._collections_compatRR(((s?/usr/lib/python2.7/site-packages/ansible/plugins/lookup/dict.pyts