File: //lib/python3.9/site-packages/ansible/plugins/lookup/__pycache__/together.cpython-39.pyc
a
�)gs � @ sd d dl mZmZmZ eZdZdZdZd dl Z d dl
mZ d dlm
Z
d dlmZ G d d
� d
e
�ZdS )� )�absolute_import�division�print_functionaT
name: together
author: Bradley Young (!UNKNOWN) <[email protected]>
version_added: '1.3'
short_description: merges lists into synchronized list
description:
- Creates a list with the iterated elements of the supplied lists
- "To clarify with an example, [ 'a', 'b' ] and [ 1, 2 ] turn into [ ('a',1), ('b', 2) ]"
- This is basically the same as the 'zip_longest' filter and Python function
- Any 'unbalanced' elements will be substituted with 'None'
options:
_terms:
description: list of lists to merge
required: True
z�
- name: item.0 returns from the 'a' list, item.1 returns from the '1' list
ansible.builtin.debug:
msg: "{{ item.0 }} and {{ item.1 }}"
with_together:
- ['a', 'b', 'c', 'd']
- [1, 2, 3, 4]
zO
_list:
description: synchronized list
type: list
elements: list
N)�AnsibleError)�
LookupBase)�listify_lookup_plugin_termsc @ s"