ssh priv key in a better place to get picked up automatically
This commit is contained in:
parent
1837d78e1e
commit
5e3b559e59
2 changed files with 8 additions and 1 deletions
4
files/copr/ssh_config
Normal file
4
files/copr/ssh_config
Normal file
|
@ -0,0 +1,4 @@
|
|||
Host *
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile /dev/null
|
|
@ -81,7 +81,10 @@
|
|||
with_fileglob: $private/files/euca/accounts/copr-buildsys/*
|
||||
|
||||
- name: setup privkey for copr user
|
||||
action: copy src=$private/files/copr/buildsys.priv dest=/srv/copr-work/copr/buildsys.priv owner=copr group=copr mode=600
|
||||
action: copy src=$private/files/copr/buildsys.priv dest=/srv/copr-work/copr/.ssh/id_rsa owner=copr group=copr mode=600
|
||||
|
||||
- name: setup copr user ssh config file
|
||||
action: copy src=$private/files/copr/ssh_config dest=/srv/copr-work/copr/.ssh/config owner=copr group=copr mode=600
|
||||
|
||||
- name: replace bashrc for copr user
|
||||
action: copy src=$files/copr/copr_bashrc dest=/srv/copr-work/copr/.bashrc owner=copr group=copr mode=600
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue