??????????????
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@`sddlmZmZmZeZdZddlmZ ddl m Z m Z ddl mZddlmZddlmZddlmZdd lmZdd lmZdd lmZdd lmZdd lmZddlm Z e ƒZ!defd„ƒYZ"dS(i(tabsolute_importtdivisiontprint_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 constants(t AnsibleErrortAnsibleAssertionError(t PlayIterator(t iteritems(tto_text(tBlock(t IncludedFile(tTask(t action_loader(t StrategyBase(tTemplar(tDisplaytStrategyModulecB`s;eZdZd„Zd„Zd„Zd„Zd„ZRS(cC`s‰|jdkrtdƒ‚ng}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_tasktNoneRt isinstanceR tappendR t_create_noop_block_fromt_parent(tselfttargettresulttel((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyt_replace_with_noop6s #cC`sRtd|ƒ}|j|jƒ|_|j|jƒ|_|j|jƒ|_|S(Nt parent_block(R Rtblocktalwaystrescue(Rtoriginal_blocktparentt noop_block((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyRBs cC`sNtƒ|_d|j_d|jjd<|jj|jjƒ|j||ƒS(Ntmetatnoopt _raw_params(R Rtactiontargst set_loadert_playt_loaderR(RR R!titerator((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyt#_prepare_and_create_noop_block_fromJs   c`sίtƒ‰dˆ_dˆjd<ˆjˆjjƒi‰tjdƒx*|D]"}ˆj|dt ƒˆ|j qssndone counting tasks in each state of execution: num_setups: %s num_tasks: %s num_rescue: %s num_always: %sc `sάg}tjdƒx΅|D]­}ˆj|jƒ}|dkrDqn|\}}ˆj|ƒ}|dkrqqn|j|kr΄|j|kr΄ˆj|ƒ}|j ||fƒq|j |ˆfƒqWtjdƒ|S(s  This helper returns the task for all hosts in the requested state, otherwise they get a noop dummy task. This also advances the state of the host, since the given states are determined while using peek=True. sstarting to advance hostss!done advancing hosts to next taskN( tdisplaytdebugtgettnameRR0R.R1tget_next_task_for_hostR( thostsR1t cur_statetrvalsthostthost_state_taskR4R5tnew_t(t host_tasksR+R(sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyt_advance_selected_hostss       s"advancing hosts in ITERATING_SETUPs"advancing hosts in ITERATING_TASKSs#advancing hosts in ITERATING_RESCUEs#advancing hosts in ITERATING_ALWAYSs5all hosts are done, so returning None's for all hostsN(R R&R'R(R)R*R6R7R:tTrueR9Rtmint ValueErrorRR0R1R.RtITERATING_SETUPtITERATING_TASKStITERATING_RESCUEtITERATING_ALWAYS(RR;R+R>t num_setupst num_taskst num_rescuet num_alwayst state_taskthost_tasks_to_runtlowest_cur_blocktkt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jB|!jJj'ƒqH|!jKƒrH| jB|!jJj'ƒqHqHW| ršt1|ƒd"ksηt1| ƒd"krštL|jM|jNgƒ}"x˜|D]} |jO| d4tƒ\}#}$|jP|#ƒ}#|#jQ|"ksm|#jQ|jMkr|#jR|jS@d"krt|jjD| j'<||jjTO}qqWntjd5ƒtjd6ƒ|jjUd?k r™ t1| ƒd"kr™ |jjUd7}%t1|jjDƒ|jV|%krm x@|D]8} | j'|kr t|jjD| j'<|jE| ƒq q W|jj*d8ƒ||jjTO}ntjd9t1|jjDƒ|jV|%fƒntjd:ƒtjd;ƒ||jjkr t1|jjDƒt1|ƒkr tjd<ƒ|jj*d8ƒ|Stjd=ƒWq%tWtXfk rE }tjd>|ƒ|jjYSXq%WtZt[|ƒj\|||ƒS(As² The linear strategy is simple - get the next task and queue it for all hosts, then wait for the queue to drain before moving on to the next task s)getting the remaining hosts for this loops.done getting the remaining hosts for this loopt class_onlys)'%s' skipped because role has already runR%R$treset_connectiontend_hostsgetting variablestplayR>ttaskt_hostst _hosts_alltloadert variablessdone getting variablestBYPASS_HOST_LOOPsOsending task start callback, copying the task so we can template it temporarilys#done copying, going to template nowtfail_on_undefinedt nonstringtemptysdone templatings!templating failed for some reasonshere goes the callback...tv2_playbook_on_task_starttis_conditionalssending task start callbackt max_passesigš™™™™™Ή?s>done queuing things up, now waiting for results queue to drainiR+tvariable_managers!we have included files to processsgenerating all_blocks datacs`s|]}|gfVqdS(N((R2R>((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pys Xssdone generating all_blocks datasprocessing included file: %ss2iterating over new_blocks loaded from include filesfiltering new block on tagss done filtering new block on tagss7done iterating over new_blocks loaded from include filet wrap_texts7extending task lists for all hosts with included blockssdone extending task listssdone processing included filessresults queue emptyschecking for any_errors_fatalR-s"done checking for any_errors_fatals checking for max_fail_percentagegY@t!v2_playbook_on_no_hosts_remainings$(%s failed / %s total )> %s max fails%done checking for max_fail_percentagesIchecking to see if all hosts have failed and the running result is not oks!^ not ok, so returning result nows-done checking to see if all hosts have faileds%got IOError/EOFError in task loop: %sN(snoopRURV(]t_tqmtRUN_OKRCt_set_hosts_cacheR)t _terminatedR6R7tget_hosts_lefttFalseRSR R8R&tKeyErrorRt_rolethas_runt _metadatatallow_duplicatestCt _ACTION_METAtextendt _execute_metaR'tany_errors_fatalt ignore_errorst_stept _take_stept_variable_managertget_varst _hosts_cachet_hosts_cache_alltadd_tqm_variablesRR*ttemplatetrun_oncetgetattrR9Rt Exceptiont send_callbackt_blocked_hoststget_namet _queue_taskt_process_pending_resultstmaxtinttlent_workerst_pending_resultst_wait_on_pending_resultstupdate_active_connectionsR tprocess_include_resultstdictt _filenamet_is_rolet_copy_included_filetget_block_listt_load_included_fileRtfilter_tagged_tasksR,RYRRt _failed_hoststmark_host_failedterrort add_taskst is_failedt_taskt_hosttis_unreachablet frozensetRHRIR:R0R.t fail_statet FAILED_RESCUEtRUN_FAILED_BREAK_PLAYtmax_fail_percentaget batch_sizetIOErrortEOFErrortRUN_UNKNOWN_ERRORtsuperRtrun(&RR+t play_contextRt work_to_dot hosts_leftt callback_sentt host_resultsRAt skip_restt choose_stepRvtresultsR>RXR€R&t task_varsttemplart saved_nametincluded_filestinclude_failuret all_blockst included_filetnew_irt new_blocksthandler_blockst new_blockt final_blockR"tet failed_hoststunreachable_hoststrestdont_fail_statesR4t_t percentage((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyR©ΗsP      .     ! *    '   <                              3 * (  $ ,  0 N( t__name__t __module__RRRRR,RSR©(((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyR2s    uN(#t __future__RRRttypet __metaclass__t DOCUMENTATIONtansibleRRrtansible.errorsRRtansible.executor.play_iteratorRtansible.module_utils.sixRtansible.module_utils._textRtansible.playbook.blockR tansible.playbook.included_fileR tansible.playbook.taskR tansible.plugins.loaderR tansible.plugins.strategyR tansible.templateRtansible.utils.displayRR6R(((sC/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.pyts