??????????????
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 mZddlmZd efd „ƒYZd S( i(tabsolute_importtdivisiontprint_functionsú lookup: cartesian version_added: "2.1" short_description: returns the cartesian product of lists description: - Takes the input lists and returns a list that represents the product of the input lists. - It is clearer with an example, it turns [1, 2, 3], [a, b] into [1, a], [1, b], [2, a], [2, b], [3, a], [3, b]. You can see the exact syntax in the examples section. options: _raw: description: - a set of lists required: True s  - name: Example of the change in the description debug: msg="{{ [1,2,3]|lookup('cartesian', [a, b])}}" - name: loops over the cartesian product of the supplied lists debug: msg="{{item}}" with_cartesian: - "{{list1}}" - "{{list2}}" - [1,2,3,4,5,6] si _list: description: - list of lists composed of elements of the input lists type: lists (tproduct(t AnsibleError(t LookupBase(tlistify_lookup_plugin_termst LookupModulecB`s#eZdZd„Zdd„ZRS(s/ Create the cartesian product of lists cC`sFg}x9|D]1}t|d|jd|jƒ}|j|ƒq W|S(s| Turn this: terms == ["1,2,3", "a,b"] into this: terms == [[1,2,3], [a, b]] ttemplartloader(Rt_templart_loadertappend(tselfttermstresultstxt intermediate((sD/usr/lib/python2.7/site-packages/ansible/plugins/lookup/cartesian.pyt_lookup_variables5s  cK`s]|j|ƒ}|}t|ƒdkr7tdƒ‚ngt|ŒD]}|j|ƒ^qDS(Nis9with_cartesian requires at least one element in each list(RtlenRRt_flatten(R Rt variablestkwargstmy_listR((sD/usr/lib/python2.7/site-packages/ansible/plugins/lookup/cartesian.pytrunBs N(t__name__t __module__t__doc__RtNoneR(((sD/usr/lib/python2.7/site-packages/ansible/plugins/lookup/cartesian.pyR0s N(t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNt itertoolsRtansible.errorsRtansible.plugins.lookupRtansible.utils.listifyRR(((sD/usr/lib/python2.7/site-packages/ansible/plugins/lookup/cartesian.pyts