|
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 : /lib/python3.9/site-packages/ansible/plugins/strategy/__pycache__/ |
a
�)g�O � @ s� d dl mZmZmZ eZdZd dlmZ d dl
mZmZm
Z
d dlmZmZ d dlmZ d dlmZ d dlmZ d d lmZ d d
lmZ d dlmZ d dlmZ d d
lm Z e � Z!G dd� de�Z"dS )� )�absolute_import�division�print_functiona
name: linear
short_description: Executes tasks in a linear fashion
description:
- Task execution is in lockstep per host batch as defined by C(serial) (default all).
Up to the fork limit of hosts will execute each task at the same time and then
the next series of hosts until the batch is done, before going on to the next task.
version_added: "2.0"
notes:
- This was the default Ansible behaviour before 'strategy plugins' were introduced in 2.0.
author: Ansible Core Team
)� constants)�AnsibleError�AnsibleAssertionError�AnsibleParserError)�IteratingStates�FailedStates)�to_text)�Handler)�IncludedFile)�Task)�
action_loader)�StrategyBase)�Templar)�Displayc s0 e Zd Z� fdd�Zdd� Z� fdd�Z� ZS )�StrategyModulec s t � j|i |�� d| _d S )NF)�super�__init__�_in_handlers)�self�args�kwargs�� __class__� �C/usr/lib/python3.9/site-packages/ansible/plugins/strategy/linear.pyr 3 s zStrategyModule.__init__c
C s� t � }d|_d|jd<