summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-mon
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:37 +0000
commit37a84bcc7068008bbd7fd4cb0f3ad4f0d0870d29 (patch)
tree05bfbc4224cc83e2f557ae42dfb56456b4a3f621 /deploy/adapters/ansible/roles/ceph-mon
parenta863046c1ba5e12825ba17ed47d333cdc988aaad (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>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-mon')
-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