add in the copr key for the copr user so we can ssh into localhost

This commit is contained in:
Seth Vidal 2012-11-10 09:56:51 +00:00
parent 461ed5ba69
commit 1837d78e1e

View file

@ -86,6 +86,9 @@
- 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
- name: auth_key so we can login to localhost as the copr user from the copr user
action: authorized_key user=copr key='$FILE(${files}/copr/provision/files/buildsys.pub)'
- name: set dir ownership for copr-work and copr-repo
action: file state=directory path=$item owner=copr group=copr
with_items: