From: yanyx Date: Fri, 5 May 2017 08:44:58 +0000 (+0800) Subject: ignore error when key is not exist X-Git-Tag: v2.3.0rc1~11^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=027f9aaf09fd63a887a8d725b542930219f43707;p=ceph-ansible.git ignore error when key is not exist --- diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index e39f2b6d4..5abe03000 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -22,6 +22,7 @@ ignore_errors: true always_run: true run_once: true + failed_when: false register: is_initial_mon_keyring_in_kv - name: put initial mon keyring in mon kv store