a ì)g§ã@sNddlmZmZmZeZdZddlmZ ddl m Z e ƒZ Gdd„de ƒZdS)é)Úabsolute_importÚdivisionÚprint_functiona# 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)ÚDisplaycseZdZ‡fdd„Z‡ZS)rcstt|ƒ |¡d|_dS)NT)ÚsuperrÚ__init__Z _host_pinned)ÚselfZtqm©Ú __class__©úH/usr/lib/python3.9/site-packages/ansible/plugins/strategy/host_pinned.pyr+szStrategyModule.__init__)Ú__name__Ú __module__Ú __qualname__rÚ __classcell__r r r r r)srN) Z __future__rrrÚtypeZ __metaclass__Z DOCUMENTATIONZansible.plugins.strategy.freerZFreeStrategyModuleZansible.utils.displayrZdisplayr r r r Ús