From: Sébastien Han Date: Thu, 29 Nov 2018 13:26:41 +0000 (+0100) Subject: rolling_update: do not fail on missing keys X-Git-Tag: v3.1.12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c34027c3bac60453f0a2bfc786e3b388a6356a75;p=ceph-ansible.git rolling_update: do not fail on missing keys We don't want to fail on key that are not present since they will get created after the mons are updated. They will be created by the task "create potentially missing keys (rbd and rbd-mirror)". Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1650572 Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-mon/tasks/docker/fetch_configs.yml b/roles/ceph-mon/tasks/docker/fetch_configs.yml index 53076e859..a1433e5e3 100644 --- a/roles/ceph-mon/tasks/docker/fetch_configs.yml +++ b/roles/ceph-mon/tasks/docker/fetch_configs.yml @@ -4,6 +4,7 @@ src: "{{ item.0 }}" dest: "{{ fetch_directory }}/{{ fsid }}/{{ item.0 }}" flat: yes + fail_on_missing: "{{ 'no' if rolling_update else 'yes' }}" with_together: - "{{ ceph_config_keys }}" - "{{ statconfig.results }}"