Remove the key display, add ssh config

This commit is contained in:
Michael S 2020-04-08 15:24:56 +00:00 committed by Pierre-Yves Chibon
parent 547f5bc938
commit d6bba5daa4
2 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,2 @@
Host pagure.io
IdentityFile ~/.ssh/id_rsa_docs_trans

View file

@ -19,12 +19,15 @@
tags:
- fedora-docs-translation
# the key is going to be added to pagure for pushing
- name: Display the public key
command: cat ~_update_docs_trans/.ssh/id_rsa_docs_trans.pub
- copy:
src: ssh_config
dest: ~_update_docs_trans/.ssh/config
owner: _update_docs_trans
group: _update_docs_trans
mode: 0644
tags:
- fedora-docs-translation
- copy:
src: docs-translation-update
dest: /usr/local/bin/docs-translation-update