]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Add run_once to 'copy keys to the ansible server' 448/head
authorMatt Thompson <mattt@defunct.ca>
Fri, 4 Dec 2015 15:31:17 +0000 (15:31 +0000)
committerMatt Thompson <mattt@defunct.ca>
Fri, 4 Dec 2015 16:14:18 +0000 (16:14 +0000)
commit5db9f45c041511ae41fac1989f05cd30e3a7cbde
treeaac21b9ea414866bf2e5b567f3b5388584a92e81
parent8d14048bacd87b05de5331606bf2aac931edf177
Add run_once to 'copy keys to the ansible server'

I have seen a number of failures on this task due to mismatch of
checksum of source file and destination.  I suspect this is due to a
race condition caused by several hosts simultaneously copying the same
file to single location on the deployment server.

This change simply updates the 'copy keys to the ansible server' task
by adding 'run_once', which limits the task to being run on a single
MON host.

Closes issue #410
roles/ceph-mon/tasks/ceph_keys.yml