1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

limit --no-cache-dir exclude to is_redhat

This commit is contained in:
Jerry Vonau 2017-10-18 17:20:17 -05:00
parent a351511b0d
commit 0064694bbe
2 changed files with 12 additions and 0 deletions

View file

@ -27,6 +27,9 @@
virtualenv={{ osm_venv }}
virtualenv_site_packages=no
version=2.6
{% if not is_redhat %}
extra_args="--no-cache-dir"
{% endif %}
# extra_args="--no-cache-dir"
when: internet_available
@ -34,6 +37,9 @@
pip: name={{ item }}
virtualenv={{ osm_venv }}
virtualenv_site_packages=no
{% if not is_redhat %}
extra_args="--no-cache-dir"
{% endif %}
# extra_args="--no-cache-dir"
with_items:
- MarkupSafe