metalsmith/playbooks/integration/pre.yaml
Dmitry Tantsur f69b81320b Repare the CI job
Change-Id: Ife00823256d5b491380b755cbc3517cf5ef1172a
2019-03-22 17:15:21 +01:00

25 lines
734 B
YAML

---
- hosts: all
roles:
- run-devstack
tasks:
- set_fact:
metalsmith_src_dir: '{{ ansible_user_dir }}/src/git.openstack.org/openstack'
- name: Install requirements for metalsmith
pip:
requirements: "{{ metalsmith_src_dir }}/metalsmith/requirements.txt"
extra_args: -c {{ metalsmith_src_dir }}/requirements/upper-constraints.txt
become: true
vars:
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}
- name: Install metalsmith
pip:
name: "{{ metalsmith_src_dir }}/metalsmith"
editable: true
become: true
vars:
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}