This script is being moved to openshift.
The ssh keypair need to be recovered from ~_update_docs_trans/.ssh/id_rsa_docs_trans
and copied over /srv/private/ansible/files/docstranslation/id_rsa_docstrans_prod on batcave01.
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
Since sundries got reinstalled, there is a new ssh key, and
so we need to change the key on Pagure. Rather than bothering
someone each time that happen, it is better to just display
it so it can be added to Pagure.
Per ticket 8847, moving this cron job to 10pm will let it run and finish before the larger
and longer cron script runs to update the docs site. This will prevent overlap and get
updates out a day sooner in some cases.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Since that's run by cron, we have to accept the key.
Given that a MITM of pagure would just enable to intercept
nothing of value (we are using public keys, the data to be commited
can be regenerated trivially and would just concern translation),
disabling StrictHostKeyChecking for that user is IMHO not
a security risk.