Skip to content
Snippets Groups Projects
Commit d29af132 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Adjust pip install for kolla-ansible"

parents a46978ea da6e196f
No related branches found
No related tags found
No related merge requests found
...@@ -28,15 +28,7 @@ RUN pip install shade ...@@ -28,15 +28,7 @@ RUN pip install shade
RUN git clone https://github.com/ansible/ansible.git \ RUN git clone https://github.com/ansible/ansible.git \
&& cd ansible \ && cd ansible \
&& git submodule update --init --recursive \ && git submodule update --init --recursive \
&& pip install . && pip --install-option="--install-scripts=/usr/bin" install .
{% if base_distro in ['ubuntu', 'debian'] %}
# TODO(SamYaple): Ubuntu installs pip packages to /usr/local/bin/ rather than
# /usr/bin This can be removed once the bin paths are generic
RUN ln -s /usr/local/bin/ansible /usr/bin/ansible
{% endif %}
RUN mkdir -p /etc/ansible /usr/share/ansible \ RUN mkdir -p /etc/ansible /usr/share/ansible \
&& echo 'localhost ansible_connection=local' > /etc/ansible/hosts && echo 'localhost ansible_connection=local' > /etc/ansible/hosts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment