setup more dirs and paths for provisioning builders
This commit is contained in:
parent
65421b6d7a
commit
6be780c154
2 changed files with 27 additions and 5 deletions
|
@ -76,6 +76,10 @@
|
|||
- name: setup euca goo in there
|
||||
action: file state=directory path=/srv/copr-work/copruser/euca owner=copr group=copr mode=0700
|
||||
|
||||
- name: add copr-buildsys keys to copr user path
|
||||
action: copy src=$item dest=/srv/copr-work/copr/euca/ owner=copr group=copr mode=0600
|
||||
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
|
||||
|
||||
|
@ -85,12 +89,30 @@
|
|||
- /srv/copr-work
|
||||
- /srv/copr-user
|
||||
|
||||
# /srv/copr-work/provision/ needs ansible playbook + files
|
||||
#
|
||||
# setup dirs for the ansible execution off of provisioning
|
||||
- name: dirs from provision
|
||||
action: file state=directory path=/srv/copr-work/provision/$item owner=copr group=copr
|
||||
with_items:
|
||||
- action_plugins
|
||||
- library
|
||||
- files
|
||||
|
||||
- name: put ansible.cfg for all this into /etc/ansible/ on the system
|
||||
action: copy src=$files/copr/provision/ansible.cfg dest=/etc/ansible/ansible.cfg
|
||||
|
||||
|
||||
- name: put some files into the provision subdir
|
||||
action: copy src=$files/copr/provision/$item dest=/srv/copr-work/provision/$item
|
||||
with_items:
|
||||
- inventory
|
||||
- builderpb.yml
|
||||
|
||||
- name: put files into the files subdir off of provisioning
|
||||
action: copy src=$item dest=/srv/copr-work/provision/files/$item
|
||||
with_fileglob: $files/copr/provision/files/*
|
||||
|
||||
|
||||
|
||||
- name: add copr-buildsys keys to work path
|
||||
action: copy src=$item dest=/srv/copr-work/provision/euca/ owner=root group=root mode=0600
|
||||
with_fileglob: $private/files/euca/accounts/copr-buildsys/*
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue