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>
17 lines
377 B
YAML
17 lines
377 B
YAML
- name: Select python version to build
|
|
set_fact:
|
|
wheel_python: "python{{ inventory_hostname[-1] }}"
|
|
|
|
- name: Ensure wheel dir exists
|
|
file:
|
|
group: zuul
|
|
owner: zuul
|
|
path: "{{ wheel_dir }}"
|
|
state: directory
|
|
become: yes
|
|
|
|
- name: Build the wheel mirror
|
|
shell: ./scripts/wheel-build.sh {{ wheel_dir }} {{ wheel_python }}
|
|
args:
|
|
executable: /bin/bash
|