From 33ce1e1886c562b859867dad407430a7a077a6c6 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 22 Nov 2017 22:47:21 +0000 Subject: [PATCH] Documented use of ANSIBLE_STRATEGY variable (#32973) Change-Id: I4a14520c14a9d93f06b235eb79720fc674e20cb5 --- docs/docsite/rst/playbooks_debugger.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docsite/rst/playbooks_debugger.rst b/docs/docsite/rst/playbooks_debugger.rst index f71c431f2d..c43af2c2c3 100644 --- a/docs/docsite/rst/playbooks_debugger.rst +++ b/docs/docsite/rst/playbooks_debugger.rst @@ -13,6 +13,9 @@ To use the ``debug`` strategy, change the ``strategy`` attribute like this:: tasks: ... +If you don't want change the code, you can define ``ANSIBLE_STRATEGY=debug`` +environment variable in order to enable the debugger. + For example, run the playbook below:: - hosts: test