mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Remove the key display, add ssh config
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
547f5bc938
commit
d6bba5daa4
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
|
||||
|
||||
Reference in New Issue
Block a user