Fix lint issue
Use apt: update_cache=yes instead of an apt-get command. Change-Id: I18c602e576f3895575fa807b1bbf5a389d6c57f1
This commit is contained in:
parent
5cdacdfbf4
commit
5fe5b6ca1a
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user