f69b81320b
Change-Id: Ife00823256d5b491380b755cbc3517cf5ef1172a
25 lines
734 B
YAML
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') }}
|