
    Vh"                    V    d dl mZ dZdZdZd dlmZ d dlmZ d dl	m
Z
  G d d	e      Zy
)    )annotationsa  
    name: list
    author: Ansible Core Team
    version_added: "2.0"
    short_description: simply returns what it is given.
    description:
      - this is mostly a noop, to be used as a with_list loop when you dont want the content transformed in any way.
z
- name: unlike with_items you will get 3 items from this loop, the 2nd one being a list
  ansible.builtin.debug: var=item
  with_list:
    - 1
    - [2,3]
    - 4
z]
  _list:
    description: basically the same as you fed in
    type: list
    elements: raw
)Sequence)
LookupBase)AnsibleErrorc                      e Zd Zd Zy)LookupModulec                <    t        |t              st        d      |S )Nzwith_list expects a list)
isinstancer   r   )selftermskwargss      K/home/dcms/DCMS/lib/python3.12/site-packages/ansible/plugins/lookup/list.pyrunzLookupModule.run(   s    %*9::    N)__name__
__module____qualname__r    r   r   r   r   &   s    r   r   N)
__future__r   DOCUMENTATIONEXAMPLESRETURNcollections.abcr   ansible.plugins.lookupr   ansible.errorsr   r   r   r   r   <module>r      s6    #
 % - ': r   