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.
ansible/docs/docsite/rst/user_guide
James Cammarata 51b33b79c0
T woerner max concurrent (#60702)
* 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 Add docs detailing how to convert many with_X style loops to use loop and filters (#40964) 6 years ago
become.rst fix typo in become.rst (#61011) 5 years ago
command_line_tools.rst Refine plugin docs (#49324) 6 years ago
guide_rolling_upgrade.rst Shortens Scenario Guides, incorporates vmware guide (#54554) 6 years ago
index.rst Core Docs Refactor and Redesign (#36067) 7 years ago
intro.rst Remove more docs build errors (#45364) 6 years ago
intro_adhoc.rst removes last :doc: links in user guide (#58433) 5 years ago
intro_bsd.rst Remove use of simplejson throughout code base (#43548) 6 years ago
intro_dynamic_inventory.rst removes last :doc: links in user guide (#58433) 5 years ago
intro_getting_started.rst Update intro_getting_started.rst to take into account inventory precedence when proposing '-u' to change the remote user. (#59858) 5 years ago
intro_inventory.rst Updating intro_inventory.rst (#60676) 5 years ago
intro_patterns.rst Doc fixes for readability (formatting/punctuation) (#61086) 5 years ago
intro_windows.rst removes last :doc: links in user guide (#58433) 5 years ago
modules.rst removes last :doc: links in user guide (#58433) 5 years ago
modules_intro.rst removes last :doc: links in user guide (#58433) 5 years ago
modules_support.rst removes last :doc: links in user guide (#58433) 5 years ago
playbook_pathing.rst doc(user_guide): fix typos (#47425) 6 years ago
playbooks.rst Shortens Scenario Guides, incorporates vmware guide (#54554) 6 years ago
playbooks_advanced_syntax.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_async.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_best_practices.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_blocks.rst Provide the list of packages in a modern way (#58668) 5 years ago
playbooks_checkmode.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_conditionals.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_debugger.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_delegation.rst Add note about delegate_facts to run_once (#58241) 5 years ago
playbooks_environment.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_error_handling.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_filters.rst Fix naming discrepancy in zip filter example (#60918) 5 years ago
playbooks_filters_ipaddr.rst add docs for vlan_parser filter (#57498) 5 years ago
playbooks_intro.rst Fix notifying handlers by using an exact match (#55624) 5 years ago
playbooks_lookups.rst "with in" changed to "within" (#54990) 6 years ago
playbooks_loops.rst docsite: remove lexers which have been fixed in Pygments 2.4.0 (#57508) 5 years ago
playbooks_module_defaults.rst Amazon modules: rename _facts with ansible_facts result to _info (#60178) 5 years ago
playbooks_prompts.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_python_version.rst Core Docs Refactor and Redesign (#36067) 7 years ago
playbooks_reuse.rst Swap ordering to ensure Dynamic always first (#58998) 5 years ago
playbooks_reuse_includes.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_reuse_roles.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_roles.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_special_topics.rst clarifies FAQ answer about env vars (#48432) 6 years ago
playbooks_startnstep.rst Core Docs Refactor and Redesign (#36067) 7 years ago
playbooks_strategies.rst T woerner max concurrent (#60702) 5 years ago
playbooks_tags.rst Clarify behavior of --skip-tags, --list-tasks, and --list-tags. (#60492) 5 years ago
playbooks_templating.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_tests.rst removes last :doc: links in user guide (#58433) 5 years ago
playbooks_variables.rst Docs on general precedence (#50201) 5 years ago
playbooks_vault.rst Update playbooks_vault.rst (#58005) 5 years ago
plugin_filtering_config.rst Update plugin filter documentation (#46665) 6 years ago
quickstart.rst Add links to quickstart guides (#56722) 5 years ago
vault.rst Updated "Speeding up Vault Operations" section (#57701) 5 years ago
windows.rst Windows Setup doc; offer 10x perf improvement (#58259) 5 years ago
windows_dsc.rst get rid of Sphinx 2.1.2 errors (#59001) 5 years ago
windows_faq.rst remove the word "support" from Windows pages, add Windows Server 2019 (#61404) 5 years ago
windows_performance.rst Windows Setup doc; offer 10x perf improvement (#58259) 5 years ago
windows_setup.rst remove the word "support" from Windows pages, add Windows Server 2019 (#61404) 5 years ago
windows_usage.rst removes last :doc: links in user guide (#58433) 5 years ago
windows_winrm.rst get rid of Sphinx 2.1.2 errors (#59001) 5 years ago