mirror of https://github.com/ceph/ceph-ansible.git
62c42cd06b
use `include_tasks` instead of `import_tasks`.
Given that with `import_tasks` statements are preprocessed
and the tasks that defines it hasn't been run yet, it will fail
and complain like following:
```
The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute '_interface'
```
Using `include_tasks` instead fixes this.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
container_binary.yml | ||
convert_grafana_server_group_name.yml | ||
devices.yml | ||
facts.yml | ||
get_def_crush_rule_name.yml | ||
grafana.yml | ||
main.yml | ||
set_monitor_address.yml | ||
set_radosgw_address.yml |