|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /usr/lib/python3.9/site-packages/ansible/plugins/lookup/__pycache__/ |
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