Hi Everyone,
Hope all are well .
I have a small query where in i want to know if i can set a variable in one
playbook and use that in another playbook.
For eg
Playbook1 : setting a var with output of shell
set_fact:
var1: test
Playbook2
- debug:
msg: "{{ var1 }}"
Note : i found one way that i can write these two playbooks and import both
using one main playbook , that seems to perform the scenario(still need to
test this though :-))
Other than this if anyone has had this scenario before or can provide some
insight on this , please do share.
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/0a29e9b7-3ba0-4540-a31b-ed0cdfeb4607n%40googlegroups.com.