From 43ea5f0853f95024d273c118de90a8b654f330b5 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 15 Sep 2015 09:48:30 -0400 Subject: [PATCH] added note about registered variables --- docsite/rst/playbooks_variables.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docsite/rst/playbooks_variables.rst b/docsite/rst/playbooks_variables.rst index 8e61674a954..25b52d31e4f 100644 --- a/docsite/rst/playbooks_variables.rst +++ b/docsite/rst/playbooks_variables.rst @@ -558,6 +558,8 @@ While it's mentioned elsewhere in that document too, here's a quick syntax examp Registered variables are valid on the host the remainder of the playbook run, which is the same as the lifetime of "facts" in Ansible. Effectively registered variables are just like facts. +.. note:: If a task fails or is skipped, the variable still is registered with a failure or skipped status, the only way to avoid registering a variable is using tags. + .. _accessing_complex_variable_data: Accessing Complex Variable Data