관리-도구
편집 파일: play.cpython-39.pyc
a �)ge= � @ s d dl mZmZmZ eZd dlmZ d dlm Z d dl mZmZ d dl mZ d dlmZ d dlmZmZmZ d dlmZ d d lmZ d d lmZ d dlmZ d dlmZmZ d d l m!Z! d dl"m#Z# d dl$m%Z% d dl&m'Z' d dl(m)Z) e)� Z*dgZ+G dd� dee%e�Z,dS )� )�absolute_import�division�print_function)� constants)�context)�AnsibleParserError�AnsibleAssertionError)� to_native)�is_sequence)�binary_type�string_types� text_type)�NonInheritableFieldAttribute)�Base)�Block)�CollectionSearch)�load_list_of_blocks�load_list_of_roles)�Role)�Task)�Taggable)�preprocess_vars)�Display�Playc s� e Zd ZdZeddeddd�Zedddd�Zedd d � edd�Zede j dd�Zed e jd�Z ededd�Zededd�Zededd�Zededd�Zededd�Zededd�Zededd�Zede�d�dd�Zeddd�Zededd�Zed e jdd�Zed dd�Z� fdd�Zdd� Zdd� Z dd� Z!e"dEdd ��Z#� fd!d"�Z$d#d$� Z%d%d&� Z&d'd(� Z'd)d*� Z(d+d,� Z)d-d.� Z*d/d0� Z+d1d2� Z,d3d4� Z-d5d6� Z.d7d8� Z/d9d:� Z0d;d<� Z1d=d>� Z2� fd?d@�Z3� fdAdB�Z4� fdCdD�Z5� Z6S )Fr z� A play is a language feature that represents a list of roles and/or task/handler blocks to execute on a given set of hosts. Usage: Play.load(datastructure) -> Play Play.something(...) �listT���)�isa�required�listof�always_post_validate�priority�boolN)r �defaultr c C s t jS �N)�CZDEFAULT_GATHER_SUBSET� r% r% �9/usr/lib/python3.9/site-packages/ansible/playbook/play.py�<lambda>@ � z Play.<lambda>)r r"