Some variables lives on between plays which cause unexpected behavior
haxorof opened this issue · 0 comments
haxorof commented
Variable defined in the role under 'vars' lives on between plays. This cause a problem with some that are changed during execution. These must be resetted with set_facts
to get expected behavior.
Some related information:
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.7.html#include-role-and-import-role-variable-exposure