Fix lint issue

Use apt: update_cache=yes instead of an apt-get command.

Change-Id: I18c602e576f3895575fa807b1bbf5a389d6c57f1
This commit is contained in:
David Moreau-Simard 2017-09-06 22:54:25 -04:00
parent 5cdacdfbf4
commit 5fe5b6ca1a

View File

@ -22,5 +22,6 @@
# Make sure OS does not have a stale package cache.
- name: Update apt cache
become: yes
command: apt-get update
apt:
update_cache: yes
when: ansible_os_family == 'Debian'