You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/roles
Sloane Hertel a452c53375
import_role - allow subdirectories with _from options (#82642)
* Allow subdirectories with import_role _from options

Add tests that tasks_from is restricted to the role

Note that a task like:

- import_role:
    name: role
    tasks_from: tasks/entrypoint.yml

will now load tasks from "{{ role_path }}/tasks/tasks/entrypoint.yml"
instead of "{{ role_path }}/tasks/entrypoint.yml". This change in
behavior matches include_role.

* better test case (filename doesn't match one in tasks/)

Fixes #82584
10 months ago
..
roles import_role - allow subdirectories with _from options (#82642) 10 months ago
tasks
vars
47023.yml
aliases
allowed_dupes.yml
data_integrity.yml
dupe_inheritance.yml
no_dupes.yml
no_outside.yml
no_outside_import.yml import_role - allow subdirectories with _from options (#82642) 10 months ago
privacy.yml
role_complete.yml
role_dep_chain.yml
runme.sh import_role - allow subdirectories with _from options (#82642) 10 months ago
test_subdirs.yml import_role - allow subdirectories with _from options (#82642) 10 months ago
vars_scope.yml