summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-02-01 04:27:19 -0500
committerLeo wang <grakiss.wanglei@huawei.com>2016-02-01 09:31:50 +0000
commit54a61a8cb45e81ad7073770594f13e4afbbdb5d1 (patch)
treec4e3166e2befb2a5e30c6d8a73a6361b3438d1a4
parent13620d3f02a0aa1f225ecc81fc12b06796e52d19 (diff)
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>
-rw-r--r--deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml1
1 files changed, 1 insertions, 0 deletions
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