%PDF- %PDF-
| Direktori : /lib/python3.9/site-packages/ansible/plugins/lookup/__pycache__/ |
| Current File : //lib/python3.9/site-packages/ansible/plugins/lookup/__pycache__/list.cpython-39.pyc |
a
�)gv � @ s\ d dl mZmZmZ eZdZdZdZd dl m
Z
d dlmZ d dl
mZ G dd � d e�Zd
S )� )�absolute_import�division�print_functiona
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 @ s e Zd Zdd� ZdS )�LookupModulec K s t |t�std��|S )Nzwith_list expects a list)�
isinstancer r )�selfZterms�kwargs� r �?/usr/lib/python3.9/site-packages/ansible/plugins/lookup/list.py�run* s
zLookupModule.runN)�__name__�
__module__�__qualname__r r r r r
r ( s r N)Z
__future__r r r �typeZ
__metaclass__Z
DOCUMENTATIONZEXAMPLESZRETURN�collections.abcr Zansible.plugins.lookupr Zansible.errorsr r r r r r
�<module> s