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"

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/cb34f23e-6517-48c1-93a6-efb6792074e5n%40googlegroups.com.

Reply via email to