Jean-Philippe Evrard e1b4efc8dc Only update apt cache if necessary
Workarounding the upstream ansible apt module bug
documented here:

https://github.com/ansible/ansible-modules-core/pull/1517

For the next versions of ansible we'll be using, we should
check if the apt bug is fixed. When it's fixed, we could
abandon this change and use the standard apt module
with correct cache handling.

Change-Id: Id86af470197fe5b70724f0296f1cb0aed21bf826
2016-02-15 22:34:24 +01:00
..
2016-02-15 22:34:24 +01:00