Give zuul user permissions to /opt/wheel/workspace

Otherwise, we cannot write anything to the folder.  Also clean up
shell task since our bash script already setups /bin/bash -ex.

Change-Id: I0a9770dfb1bf252cf092e6edc8491e6d801ab0e3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-09-24 09:51:13 -04:00
parent e1ee55eb06
commit 57939ab367
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -4,9 +4,13 @@
- name: Ensure wheel dir exists
file:
group: zuul
owner: zuul
path: "{{ wheel_dir }}"
state: directory
become: yes
- name: Build the wheel mirror
shell: bash -x scripts/wheel-build.sh {{ wheel_dir }} {{ wheel_python }}
shell: ./scripts/wheel-build.sh {{ wheel_dir }} {{ wheel_python }}
args:
executable: /bin/bash