From 0e7ff1690aeba2d154c0f2de523d9b2741c2454d Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 2 Oct 2013 20:48:51 -0400 Subject: [PATCH] Add a note about registered variable lifetime. --- docsite/latest/rst/playbooks_variables.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docsite/latest/rst/playbooks_variables.rst b/docsite/latest/rst/playbooks_variables.rst index e77ff04473c..d572fd16dbc 100644 --- a/docsite/latest/rst/playbooks_variables.rst +++ b/docsite/latest/rst/playbooks_variables.rst @@ -443,6 +443,8 @@ While it's mentioned elsewhere in that document too, here's a quick syntax examp - shell: /usr/bin/bar when: foo_result.rc == 5 +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 registerd variables are just like facts. Accessing Complex Variable Data ```````````````````````````````