From 1837d78e1e8f0f27942c529f060b2b72f61c1dd6 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Sat, 10 Nov 2012 09:56:51 +0000 Subject: [PATCH] add in the copr key for the copr user so we can ssh into localhost --- playbooks/hosts/copr-be.cloud.fedoraproject.org.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml b/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml index 2e3a4a6006..08b4a08464 100644 --- a/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml +++ b/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml @@ -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: