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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message