mirror of https://github.com/ansible/ansible.git
* Revert " Update TaskInclude _raw_params with the expanded/templated path to file (#39365)"
This reverts commit 4b01b92cfe
.
* Improve error messaging, catch error templating parent path
pull/41267/head
parent
24c0f6f872
commit
c403f01971
@ -1,2 +0,0 @@
|
||||
- debug:
|
||||
msg: one
|
@ -1,14 +0,0 @@
|
||||
- hosts: testhost:testhost2
|
||||
tasks:
|
||||
- set_fact:
|
||||
include_me: one
|
||||
when: inventory_hostname == ansible_play_hosts[0]
|
||||
|
||||
- set_fact:
|
||||
include_me: two
|
||||
when: inventory_hostname == ansible_play_hosts[1]
|
||||
|
||||
- debug:
|
||||
var: include_me
|
||||
|
||||
- include_tasks: '{{ include_me }}/include_me.yml'
|
@ -1,2 +0,0 @@
|
||||
- debug:
|
||||
msg: two
|
Loading…
Reference in New Issue