Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
lib
/
python3.10
/
dist-packages
/
ansible
/
playbook
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: conditional.cpython-310.pyc
o O�h � @ sp d dl mZ d dlZd dlmZmZmZ d dlm Z d dl mZ d dlm Z d dlmZ e� ZG dd � d �ZdS ) � )�annotationsN)�AnsibleError�AnsibleUndefinedVariable�AnsibleTemplateError)� to_native)�FieldAttribute)�Templar)�Displayc sX e Zd ZdZededdd�Zd� fdd� Zdd � Zddd�Z ddd�Z ddd�Z� ZS )�Conditionalz� This is a mix-in class, to be used with Base to allow the object to be run conditionally when a condition is met or skipped. �listT)�isa�default�extend�prependNc s. t | d�s|d u r td��|| _t� �� d S )N�_loaderz<a loader must be specified when using Conditional() directly)�hasattrr r �super�__init__)�self�loader�� __class__� �G/usr/local/lib/python3.10/dist-packages/ansible/playbook/conditional.pyr '