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