diff --git a/playbooks/integration/pre.yaml b/playbooks/integration/pre.yaml index 6fda1d8..b5f7025 100644 --- a/playbooks/integration/pre.yaml +++ b/playbooks/integration/pre.yaml @@ -4,17 +4,20 @@ - run-devstack tasks: + - set_fact: + metalsmith_src_dir: '{{ ansible_user_dir }}/src/git.openstack.org/openstack' + - name: Install requirements for metalsmith pip: - name: -r /opt/stack/metalsmith/requirements.txt - extra_args: -c /opt/stack/requirements/upper-constraints.txt + 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: /opt/stack/metalsmith + name: "{{ metalsmith_src_dir }}/metalsmith" editable: true become: true vars: