]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 18 Nov 2019 15:42:16 +0000 (16:42 +0100)
commit225d4ceabc4ba3fe05d0a982f5d424cf9558aba5
tree37a4d4d979e5a81e4eea65627d413e3ca8724b0a
parente54b6be74e5f92047444e1d06077439fa83a3bee
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-container.yml.sample