mirror of https://github.com/ceph/ceph-ansible.git
fd8aca866d
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
|
||
---|---|---|
.. | ||
meta | ||
tasks | ||
README.md |
README.md
Ansible role: ceph-facts
Documentation is available at http://docs.ceph.com/ceph-ansible/.