??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
σ
ΰUdac @` sΧ d d l m Z m Z m Z e Z d Z d d l 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 e Z d e f d
YZ d S( i ( t absolute_importt divisiont print_functions
strategy: free
short_description: Executes tasks without waiting for all hosts
description:
- Task execution is as fast as possible per batch as defined by C(serial) (default all).
Ansible will not wait for other hosts to finish the current task before queuing more tasks for other hosts.
All hosts are still attempted for the current task, but it prevents blocking new tasks for hosts that have already finished.
- With the free strategy, unlike the default linear strategy, a host that is slow or stuck on a specific task
won't hold up the rest of the hosts and tasks.
version_added: "2.0"
author: Ansible Core Team
N( t constants( t AnsibleError( t IncludedFile( t
action_loader( t StrategyBase( t Templar( t to_text( t Displayt StrategyModulec B` s) e Z e Z d Z d Z d Z RS( c C` s3 g | D]( } | | j k r | j | r | ^ q S( s?
Filter notified hosts accordingly to strategy
( t _flushed_hosts( t selft notified_hostst host( ( sA /usr/lib/python2.7/site-packages/ansible/plugins/strategy/free.pyt _filter_notified_hosts5 s
c C` s# t t | j | t | _ d S( N( t superR t __init__t Falset _host_pinned( R
t tqm( ( sA /usr/lib/python2.7/site-packages/ansible/plugins/strategy/free.pyR > s c C` s d } | j j } t | j } | j | j t } x§| rΰ| j j rΰ| j | } t | d k r | j j d t
} Pn t
} | } g } xτt r| | }
t j d |
|
j
} | j |
d t \ } }
t j d | d | t j d |
d | | | j j k r/|
r/t } t j d d | | | j k sa| j | rt j d d | | j j d
| j d |
d |
d | j d
| j } | j | d
| j t d | j d | } t j d d | y t | j |
j } Wn. t k
r7} t d d |
j d | n X| d k rΒd } xE | j D]: } | rT| j rT| j j |
j k rT| d 7} qTqTWt j d |
j
| f | | k rΒPqΒn t | j | <| j |
\ } }
y t! j" |
j# d t } Wn t$ k
rd, } n Xy> t&