Server IP : 85.193.89.191 / Your IP : 3.144.34.110 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python2.7/site-packages/ansible/plugins/strategy/ |
Upload File : |
� � �\c @` s) d d l m Z m Z m Z e Z d Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z y d d l m Z Wn* e k rd d l m Z e � Z n Xd e f d � � YZ! d S( i ( t absolute_importt divisiont print_functions strategy: 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 ( t AnsibleErrort AnsibleAssertionError( t PlayIterator( t iteritems( t to_text( t Block( t IncludedFile( t Task( t action_loader( t StrategyBase( t Templar( t display( t Displayt StrategyModulec B` s; e Z d Z d � Z d � Z d � Z d � Z d � Z RS( c C` s� | j d k r t d � � n g } x^ | D]V } t | t � rS | j | j � q+ t | t � r+ | j | j | | j � � q+ q+ W| S( Ns= strategy.linear.StrategyModule.noop_task is None, need Task()( t noop_taskt NoneR t isinstanceR t appendR t _create_noop_block_fromt _parent( t selft targett resultt el( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyt _replace_with_noop9 s #c C` sR t d | � } | j | j � | _ | j | j � | _ | j | j � | _ | S( Nt parent_block( R R t blockt alwayst rescue( R t original_blockt parentt noop_block( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyR E s c C` sN t � | _ d | j _ d | j j d <| j j | j j � | j | | � S( Nt metat noopt _raw_params( R R t actiont argst set_loadert _playt _loaderR ( R R R! t iterator( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyt# _prepare_and_create_noop_block_fromM s c ` s� t � � d � _ d � j d <� j � j j � i � t j d � x* | D]"