]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
container: add always tag on gather fact tasks
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 14 Nov 2019 14:29:29 +0000 (09:29 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 14 Nov 2019 16:50:24 +0000 (11:50 -0500)
commitd7fd769b6ddcb63086cc414e00cce31433d56673
treed6c35617a37bed4ed495f79257719413e3ad948e
parentef2cb99f739ade80e285d83050ac01184aafc753
container: add always tag on gather fact tasks

If we execute the site-container.yml playbook with specific tags (like
ceph_update_config) then we need to be sure to gather the facts otherwise
we will see error like:

The task includes an option with an undefined variable. The error was:
'ansible_hostname' is undefined

This commit also adds missing 'gather_facts: false' to mons plays.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1754432
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
site-container.yml.sample