Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/ansible/playbook/__pycache__/ |
Upload File : |
� ���c�M � �F � d dl mZmZmZ eZd dlmZ d dl m Z mZmZm Z d dlmZ d dlmZ d dlmZ d dlmZmZ d dlmZ d d lmZmZ d d lmZ d dlmZ d dl m!Z! d d l"m#Z# d dl$m%Z% d dl&m'Z' d dl(m)Z) d dl*m+Z+ d dl,m-Z- d dl.m/Z/ dgZ0 e-� � Z1 G d� dee#e)e!� � Z2dS )� )�absolute_import�division�print_function)� constants)�AnsibleError�AnsibleParserError�AnsibleUndefinedVariable�AnsibleAssertionError)� to_native)�string_types)�ModuleArgsParser)�AnsibleBaseYAMLObject�AnsibleMapping)� lookup_loader)�FieldAttribute�NonInheritableFieldAttribute)�Base)�Block)�CollectionSearch)�Conditional)�LoopControl)�Role)�Taggable)�AnsibleCollectionConfig)�Display)�Sentinel�Taskc � � � e Zd ZdZ ede�� � Z ed�� � Z eddd� � � Z ed e �� � Z edd�� � Z ed�� � Z ed�� � Z ed e �� � Z e� � Z ed ee�� � Z ed �� � Z edej �� � Z edd�� � Z edd�� � Z ed e �� � Z edd�� � Zd/� fd� Zd0d�Zd� Zed1d�� � Zd� Z d� Z!� fd�Z"d� Z#� fd�Z$d� Z%d� Z&� fd�Z'd � Z(d!� Z)d"� Z*d#� Z+d$� Z,d%� Z-d&� Z.d2� fd(� Z/� fd)�Z0� fd*�Z1d+� Z2d3d,�Z3d-� Z4d.� Z5� xZ6S )4r z� A task is a language feature that represents a call to a module, with given arguments and other parameters. A handler is a subclass of a task. Usage: Task.load(datastructure) -> Task Task.something(...) �dict)�isa�default�string)r �intr �async)r r! �alias�list� �bool�class)r � class_typer! T)r �static� )r �privateNc � �� || _ d| _ d| _ d| _ |r|| _ n|| _ t t | � � � � � dS )zQ constructors a task, without the Task.load classmethod, it will be pretty blank NF)�_role�_parent�implicit�resolved_action�superr �__init__)�self�block�role�task_include� __class__s ��:/usr/lib/python3.11/site-packages/ansible/playbook/task.pyr4 z Task.__init__Y s\ �� � �� ������ �#���� !�'�D�L�L� �D�L� �d�D���"�"�$�$�$�$�$� c �� � | j r| j � |�� � }| j r| j r|�d| j ��S | j r| j S | j r|�d| j ��S | j �S )z return the name of the task )�include_role_fqcnz : )r/ �get_name�name�action)r5 r= � role_names r: r>