add bashrc to pick up euca keys
This commit is contained in:
parent
2bb757b626
commit
537e8f533e
2 changed files with 13 additions and 0 deletions
10
files/copr/copr_bashrc
Normal file
10
files/copr/copr_bashrc
Normal file
|
@ -0,0 +1,10 @@
|
|||
# .bashrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
if [ -f /srv/copr-work/copr/euca/eucarc ]; then
|
||||
. /srv/copr-work/copr/euca/eucarc
|
||||
fi
|
|
@ -83,6 +83,9 @@
|
|||
- 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
|
||||
|
||||
- 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: set dir ownership for copr-work and copr-repo
|
||||
action: file state=directory path=$item owner=copr group=copr
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue