mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51b33b79c0
* play, block, task: New attribute forks With this it is possible to limit the number of concurrent task runs. forks can now be used in play, block and task. If forks is set in different levels in the chain, then the smallest value will be used for the task. The attribute has been added to the Base class as a list to easily provide all the values that have been set in the different levels of the chain. A warning has been added because of the conflict with run_once. forks will be ignored in this case. The forks limitation in StrategyBase._queue_task is not used for the free strategy. Signed-off-by: Thomas Woerner <twoerner@redhat.com> * Handle forks in free strategy The forks attribute for the free strategy is handled in run in the free StrategyModule. This is dony by counting the amount of tasks where the uuid is the same as the current task, that should be queued next. If this amount is bigger or equal to the forks attribute from the chain (task, block, play), then it will be skipped to the next host. Like it is also done with blocked_hosts. Signed-off-by: Thomas Woerner <twoerner@redhat.com> * Test cases for forks with linear and free strategy With ansible_python_interpreter defined in inventory file using ansible_playbook_python. Signed-off-by: Thomas Woerner <twoerner@redhat.com> * Changing forks keyword to throttle and adding some more docs |
5 years ago | |
---|---|---|
.. | ||
shared_snippets | 7 years ago | |
become.rst | 5 years ago | |
command_line_tools.rst | 6 years ago | |
guide_rolling_upgrade.rst | 6 years ago | |
index.rst | 7 years ago | |
intro.rst | 6 years ago | |
intro_adhoc.rst | 5 years ago | |
intro_bsd.rst | 6 years ago | |
intro_dynamic_inventory.rst | 5 years ago | |
intro_getting_started.rst | 5 years ago | |
intro_inventory.rst | 5 years ago | |
intro_patterns.rst | 5 years ago | |
intro_windows.rst | 5 years ago | |
modules.rst | 5 years ago | |
modules_intro.rst | 5 years ago | |
modules_support.rst | 5 years ago | |
playbook_pathing.rst | 6 years ago | |
playbooks.rst | 6 years ago | |
playbooks_advanced_syntax.rst | 5 years ago | |
playbooks_async.rst | 5 years ago | |
playbooks_best_practices.rst | 5 years ago | |
playbooks_blocks.rst | 5 years ago | |
playbooks_checkmode.rst | 5 years ago | |
playbooks_conditionals.rst | 5 years ago | |
playbooks_debugger.rst | 5 years ago | |
playbooks_delegation.rst | 5 years ago | |
playbooks_environment.rst | 5 years ago | |
playbooks_error_handling.rst | 5 years ago | |
playbooks_filters.rst | 5 years ago | |
playbooks_filters_ipaddr.rst | 6 years ago | |
playbooks_intro.rst | 5 years ago | |
playbooks_lookups.rst | 6 years ago | |
playbooks_loops.rst | 5 years ago | |
playbooks_module_defaults.rst | 5 years ago | |
playbooks_prompts.rst | 5 years ago | |
playbooks_python_version.rst | 7 years ago | |
playbooks_reuse.rst | 5 years ago | |
playbooks_reuse_includes.rst | 5 years ago | |
playbooks_reuse_roles.rst | 5 years ago | |
playbooks_roles.rst | 5 years ago | |
playbooks_special_topics.rst | 6 years ago | |
playbooks_startnstep.rst | 7 years ago | |
playbooks_strategies.rst | 5 years ago | |
playbooks_tags.rst | 5 years ago | |
playbooks_templating.rst | 5 years ago | |
playbooks_tests.rst | 5 years ago | |
playbooks_variables.rst | 5 years ago | |
playbooks_vault.rst | 5 years ago | |
plugin_filtering_config.rst | 6 years ago | |
quickstart.rst | 6 years ago | |
vault.rst | 5 years ago | |
windows.rst | 5 years ago | |
windows_dsc.rst | 5 years ago | |
windows_faq.rst | 5 years ago | |
windows_performance.rst | 5 years ago | |
windows_setup.rst | 5 years ago | |
windows_usage.rst | 5 years ago | |
windows_winrm.rst | 5 years ago |