Remove the key display, add ssh config
This commit is contained in:
parent
547f5bc938
commit
d6bba5daa4
2 changed files with 9 additions and 4 deletions
2
roles/fedora-docs/translation/files/ssh_config
Normal file
2
roles/fedora-docs/translation/files/ssh_config
Normal file
|
@ -0,0 +1,2 @@
|
|||
Host pagure.io
|
||||
IdentityFile ~/.ssh/id_rsa_docs_trans
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue