project-config/roles/build-wheels/tasks/main.yaml
Andreas Jaeger 2847112122 ansible-lint: Silence shell warnings
Silence remaing two ansible warnings: Since we cannot really test this
change currently, add a TODO and silence the warning.

The change to command module can be done later, let's move forward
to get the job voting.

Change-Id: I01d22702f3294d7958c8982dc7f2c31a02aa81e2
2017-10-29 17:45:14 +01:00

21 lines
529 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:
cmd: ./scripts/wheel-build.sh {{ wheel_dir }} {{ wheel_python }}
executable: /bin/bash
# ANSIBLE0013 complains about shell. TODO(jaegerandi): Use command instead,
# for now we just silence the warning.
tags:
- skip_ansible_lint