Dmitry Tantsur 1f92d9a5fb Switch one of the CI jobs to Python 3
Change-Id: Ib513a713ac95da9ed14ea24643b4ea5b951892ec
2018-09-04 11:00:04 +02:00

21 lines
577 B
YAML

- hosts: all
roles:
- run-devstack
tasks:
- name: Install requirements for metalsmith
pip:
name: -r /opt/stack/metalsmith/requirements.txt
extra_args: -c /opt/stack/requirements/upper-constraints.txt
become: true
vars:
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}
- name: Install metalsmith
pip:
name: /opt/stack/metalsmith
editable: true
become: true
vars:
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}