FIX:safer to fetch file to local server only one time 41/8841/2
authorgrakiss <grakiss.wanglei@huawei.com>
Mon, 1 Feb 2016 09:27:19 +0000 (04:27 -0500)
committerLeo wang <grakiss.wanglei@huawei.com>
Mon, 1 Feb 2016 09:31:37 +0000 (09:31 +0000)
JIRA:COMPASS-299
  - fetch task between hosts may conflict with each other
  - caculation of md5sum can be put on the imcomplete file

Change-Id: I36691226f83d63f777c67a9ca5b18266c3499f4d
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml

index 279eb78..3b818ea 100644 (file)
@@ -27,3 +27,4 @@
 
 - name: fetch osd keyring
   fetch: src="/var/lib/ceph/bootstrap-osd/ceph.keyring" dest="/tmp/ceph.osd.keyring" flat=yes
+  run_once: True