mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add a note about registered variable lifetime.
This commit is contained in:
parent
5c21e81968
commit
0e7ff1690a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
```````````````````````````````
|
||||
|
|
Loading…
Reference in a new issue