Passing the var set in the 1st play to 2nd in the single playbook

5 views
Skip to first unread message

Raj Kumar

unread,
Jul 17, 2023, 9:41:53 AM7/17/23
to Ansible Project
I am trying to set the var in the 1st play for same hosts and using the same in 2nd play in the same playbook for the same hosts but somehow the variable value is not getting passed to the 2nd play. How can i do this without defining the var again in the 2nd play

Thanks
RK

Brian Coca

unread,
Jul 17, 2023, 9:52:51 AM7/17/23
to ansible...@googlegroups.com
how?


--
----------
Brian Coca

Reply all
Reply to author
Forward
0 new messages