]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
update: add default values when setting fact
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Oct 2019 17:01:50 +0000 (18:01 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 29 Oct 2019 20:00:21 +0000 (16:00 -0400)
commite4c657d71112a13d82f1ac9a89bd66cecd61bf82
tree4026df9be702d1065157a0b20915f080e83fe895
parent56f0cf79d9875523f072739ec8b77070191bd151
update: add default values when setting fact

This commit adds a default value in the `with_dict` because when using
python 2.7, if a task using a `with_dict` has a condition, it is
evaluated anyway whereas in python 3 it isn't.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1766499
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e9823f319ba8deb2f653c51868eda4566ebff609)
infrastructure-playbooks/rolling_update.yml