]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ignore error when key is not exist 1500/head
authoryanyx <yanyx@umcloud.com>
Fri, 5 May 2017 08:44:58 +0000 (16:44 +0800)
committeryanyx <yanyx@umcloud.com>
Fri, 5 May 2017 08:44:58 +0000 (16:44 +0800)
roles/ceph-mon/tasks/ceph_keys.yml

index e39f2b6d4632ebabce51d88dd38c4924929431fa..5abe03000c3bed62a5749172a053c9ef2a550bb6 100644 (file)
@@ -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