Jean-Philippe Evrard b49c2bf245 Use apt_repository update_cache feature
With ansible 2.2, apt_repository update_cache feature has
been fixed. When a new repo will be added, apt-get update
will be run after the addition if update_cache is set to yes.

This combined with the apt module now properly checking the
cache validity, we can now have proper updating of the cache
with registering variables.

Change-Id: I2b6b06e0986bc072758f2a5b4d692248143bd300
2016-11-04 16:51:14 +00:00
..