Roles and Includes

26 views
Skip to first unread message

Paul Nicholson

unread,
Oct 4, 2016, 2:02:13 AM10/4/16
to Ansible Project
Hello,

I have encountered a bug the latest ansible that I'm trying to figure out.
It works in 2.0.1.0 but fails in 2.1.1.0. It seems like the variable scope gets broken when using includes inside a roles tasks yml.
I have produced an example on github that exposes the bug. https://github.com/paulnicholson/AnsibleTest

Thanks for the help!

Paul

 


Paul Nicholson

unread,
Oct 4, 2016, 11:26:32 AM10/4/16
to Ansible Project
This is fixed in 2.1.2.0. Sorry for the noise, I didn't notice the new version until after posting.
Reply all
Reply to author
Forward
0 new messages