From 37a84bcc7068008bbd7fd4cb0f3ad4f0d0870d29 Mon Sep 17 00:00:00 2001
From: grakiss <grakiss.wanglei@huawei.com>
Date: Mon, 1 Feb 2016 04:27:19 -0500
Subject: FIX:safer to fetch file to local server only one time

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml b/deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml
index 279eb786..3b818ea2 100644
--- a/deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml
+++ b/deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml
@@ -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
-- 
cgit