mirror of https://github.com/ansible/ansible.git
lookups, make file searching use better is_role (#82290)
* lookups, make file searching use better is_role The dwim function will internally try by detecting tasks/main['','.yml','.yaml] but this is far from optimial, the existince of role path in vars is much better indicator that we can use to pass a hint * updated test to avoid main.ymlpull/82392/head
parent
5573d4cde9
commit
a9919dd7f6
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- dwim functions for lookups should be better at detectging role context even in abscense of tasks/main.
|
Loading…
Reference in New Issue