summaryrefslogtreecommitdiff
path: root/docs/docsite/rst/plugins/strategy.rst
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2017-10-11 00:15:25 -0400
committerGitHub <noreply@github.com>2017-10-11 00:15:25 -0400
commit2ed46e04f4aacd416deb5a489770f84944906a37 (patch)
treeb73401d6db324bdc6168c776e4dd9dc6d80fff73 /docs/docsite/rst/plugins/strategy.rst
parent3886f80e440b7525236142d11c4f58439defd4ec (diff)
downloadansible-2ed46e04f4aacd416deb5a489770f84944906a37.tar.gz
more updates to plugin/config generation (#30787)
* fixed module generation added missing lookup page point to plugins when plugins made modules singular add display for verbose an debug messages nicer templating, changed generation order for ref corrected links moved most of lookup docs to plugin section * Copy edits * Fixed typos * Clarified wording
Diffstat (limited to 'docs/docsite/rst/plugins/strategy.rst')
-rw-r--r--docs/docsite/rst/plugins/strategy.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/docsite/rst/plugins/strategy.rst b/docs/docsite/rst/plugins/strategy.rst
index 046f050fa7..5e3bb97814 100644
--- a/docs/docsite/rst/plugins/strategy.rst
+++ b/docs/docsite/rst/plugins/strategy.rst
@@ -6,11 +6,21 @@ Strategy Plugins
Strategy plugins control the flow of play execution by handling task and host scheduling.
+.. _enable_strategy:
Enabling Strategy Plugins
+++++++++++++++++++++++++
-Only one strategy plugin can be used in a play, but you can use different ones for each play in a playbook or Ansible run.
+Strategy plugins shipped with Ansible are enabled by default. You can enable a custom strategy plugin by
+putting it in one of the lookup directory sources configured in :doc:`ansible.cfg <../config>`.
+
+
+.. _using_strategy:
+
+Using Strategy Plugins
+++++++++++++++++++++++
+
+Only one strategy plugin can be used in a play, but you can use different ones for each play in a playbook or ansible run.
The default is the :doc:`linear <strategy/linear>` plugin. You can change this default in Ansible :doc:`configuration <../config>` using an environment variable:
.. code-block:: shell
@@ -38,6 +48,7 @@ You can also specify the strategy plugin in the play via the :ref:`strategy` key
- name: restart_tomcat
service: name=tomcat state=restarted
+.. _strategy_plugin_list:
Plugin List
+++++++++++