Each one of our customers has at least two hosts, A and B. The public
ssh key for user foo on A has to be on authorized_keys of user foo on
B.
How to ensure this gets done on one run? The jobs are launched in
parallell, and we have no guarantee that the playbook run on A will
have fetched the key by the time the playbook run on B attempts to
upload it.
Thanks,
Javier