]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
container: add always tag on gather fact tasks v3.2.36
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 14 Nov 2019 14:29:29 +0000 (09:29 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 18 Nov 2019 15:42:47 +0000 (16:42 +0100)
commit25ac0efddd8352e0821fd2368b2c4277d9728ba1
tree68912153c1e8aea76ea3d4ea15d9fcb15bd70881
parentc67de5a342fc5f8dd3af2342c4a7d3aaa339ddfe
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>
(cherry picked from commit d7fd769b6ddcb63086cc414e00cce31433d56673)
site-docker.yml.sample