]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: do not fail on missing keys v3.2.0rc7
authorSébastien Han <seb@redhat.com>
Thu, 29 Nov 2018 13:26:41 +0000 (14:26 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 3 Dec 2018 12:03:33 +0000 (13:03 +0100)
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 <seb@redhat.com>
(cherry picked from commit ebc901c6af67300f7b7b8da1b2d0a74147798da5)

roles/ceph-mon/tasks/docker/fetch_configs.yml

index 53076e859eabce70bdf94d682fa8896dc5f0c1be..a1433e5e3b2e2990f5b5041f69cd74edeb065615 100644 (file)
@@ -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 }}"