Hi All
having a query about variable precedence.
Having roles calling like this:
playbook/testplay.yml
---
{role: testrole.yml, action: testplay}
roles/testrole.yml
---
{role: nexttestrole.yml, action: testnext}
roles/nexttestrole.yml
- name: print variable
ansible.builtin.debug:
var: action
As per variable precedence order, it should refer most recent one, but here it prints testplay, instead of testnext. anyone got clue about this if this behavior is right? ans also how can I make it to print "testnext"