Jean-Philippe Evrard 5416a07f47 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: I4cb3194b1ddc96abce7ab4cce08371996b661728
2016-02-15 14:49:43 +01:00
..
2016-02-15 14:49:43 +01:00