Add a note about registered variable lifetime.

pull/4420/head
Michael DeHaan 2013-10-02 20:48:51 -04:00
parent 5c21e81968
commit 0e7ff1690a
1 changed files with 2 additions and 0 deletions

View File

@ -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
```````````````````````````````