mirror of
https://github.com/ansible/ansible.git
synced 2026-07-29 00:37:20 +02:00
* avoid getting delegated vars w/o inventory host fixes #75512 In the case of imports, we don't have a host, so getting host vars for the delegated host makes no sense and should be avoided. * also avoid error on vars_files with per host vars * test * testing given case * oops
8 lines
124 B
YAML
8 lines
124 B
YAML
- name: "main"
|
|
hosts: all
|
|
gather_facts: false
|
|
tasks:
|
|
- import_role:
|
|
name: some_role
|
|
delegate_to: testhost
|