
    VhS                    P    d dl mZ dZd dlmZ d dlmZ  e       Z G d de      Zy)    )annotationsa#  
    name: host_pinned
    short_description: Executes tasks on each host without interruption
    description:
        - Task execution is as fast as possible per host in batch as defined by C(serial) (default all).
          Ansible will not start a play for a host unless the play can be finished without interruption by tasks for another host,
          i.e. the number of hosts with an active play does not exceed the number of forks.
          Ansible will not wait for other hosts to finish the current task before queuing the next task for a host that has finished.
          Once a host is done with the play, it opens it's slot to a new host that was waiting to start.
          Other than that, it behaves just like the "free" strategy.
    version_added: "2.7"
    author: Ansible Core Team
)StrategyModule)Displayc                       e Zd Z fdZ xZS )r   c                :    t         t        |   |       d| _        y )NT)superr   __init___host_pinned)selftqm	__class__s     T/home/dcms/DCMS/lib/python3.12/site-packages/ansible/plugins/strategy/host_pinned.pyr	   zStrategyModule.__init__)   s    nd,S1     )__name__
__module____qualname__r	   __classcell__)r   s   @r   r   r   '   s    ! !r   r   N)	
__future__r   DOCUMENTATIONansible.plugins.strategy.freer   FreeStrategyModuleansible.utils.displayr   display r   r   <module>r      s.   " # O )
)!' !r   