roles variable inheritance / override bug in 1.8.2

42 views
Skip to first unread message

Steve Kieu

unread,
Dec 16, 2014, 11:57:52 PM12/16/14
to ansible...@googlegroups.com
Hi,

Not sure if this is known, with ansible 1.8.2 I found:

role B depend on role A

In role A vars/main.yml set variable like TEST: 'a'
In role B vars/main.yml set variable like TEST: 'b'

Playbook using role B and debug print that the variable has the value: 'a'

I have to downgrade to 1.7.2 which has correct behaviour.

Thanks

Tristan Bessoussa

unread,
Jan 13, 2015, 4:28:56 AM1/13/15
to ansible...@googlegroups.com
I got the exact same problem on 1.8.2.

Steve Kieu

unread,
Apr 19, 2015, 8:39:30 PM4/19/15
to ansible...@googlegroups.com

Looks like 1.8.4 the problem is fixed.

cheers
Reply all
Reply to author
Forward
0 new messages