Merge "Revert "Remove files from /var/lib/apt/lists when cleaning up on Ubuntu/Debian""

This commit is contained in:
Jenkins 2016-08-12 10:08:28 +00:00 committed by Gerrit Code Review
commit dd853d0c47

@ -2,6 +2,6 @@
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] -%}
yum -y install {{ packages | join(' ') }} && yum clean all
{%- elif base_distro in ['ubuntu', 'debian'] -%}
apt-get -y install --no-install-recommends {{ packages | join(' ') }} && apt-get clean && rm -rf /var/lib/apt/lists/*
apt-get -y install --no-install-recommends {{ packages | join(' ') }} && apt-get clean
{%- endif %}
{%- endmacro %}