mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
add bashrc to pick up euca keys
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user