From: grakiss Date: Mon, 1 Feb 2016 09:27:19 +0000 (-0500) Subject: FIX:safer to fetch file to local server only one time X-Git-Tag: colorado.1.0~203^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=37a84bcc7068008bbd7fd4cb0f3ad4f0d0870d29;p=compass4nfv.git 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 --- 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