]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
add-osd: gather facts in second part of playbook
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 4 Mar 2019 08:23:00 +0000 (09:23 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 4 Mar 2019 13:44:27 +0000 (14:44 +0100)
commita4408785332512f6fab6134ee488a4cec18639c1
treefba2c89e78e00f2bb3b536878f31b108ef0e694d
parent47ebef374ffbcaed496ff42b3f13bfd21951c333
add-osd: gather facts in second part of playbook

otherwise, it will end up with error like following:

```
FAILED! => {"msg": "'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_hostname'"}
```

because facts won't have been gathered.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1670663
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/add-osd.yml