Ansible: Difference between revisions
m tag Python |
→Variables: improve clarity |
||
| Line 71: | Line 71: | ||
==Variables== | ==Variables== | ||
; | ;I have 3 plays in one playbook. Will play 3 be able to reference facts registered in play 1?: | ||
:facts | : facts: yes | ||
:vars associated to the host, persist | : play vars: no | ||
: vars associated to the host, persist. | |||
: set_facts, registered vars and gathered facts associate to the host, so those do persist for the run | |||
: vars defined in the play, do not. | |||
==Playbooks== | ==Playbooks== | ||