mirror of https://github.com/ansible/ansible.git
include_role: Strictly check string datatype for *_from (#68958)
Strictly check string datatype for 'tasks_from', 'vars_from', 'defaults_from', and 'handlers_from' in include_role Fixes: #68515 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>pull/69006/head
parent
79fff7da69
commit
3591451bc7
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Strictly check string datatype for 'tasks_from', 'vars_from', 'defaults_from', and 'handlers_from' in include_role (https://github.com/ansible/ansible/issues/68515).
|
@ -0,0 +1,10 @@
|
||||
- name: Test include_role vars_from
|
||||
hosts: testhost
|
||||
vars:
|
||||
role_name: role1
|
||||
tasks:
|
||||
- name: Test vars_from
|
||||
include_role:
|
||||
name: role1
|
||||
vars_from:
|
||||
- vars_1.yml
|
Loading…
Reference in New Issue