ensure-pip debian: update package lists

The 'package' module doesn't update any package lists before installing
packages which can cause problems if the package lists haven't been
updated in a while. So run 'apt-get update' before
installing pip.

Change-Id: I836f7faa25dd8c06d0158828e21226fbe93fbb40
This commit is contained in:
Albin Vass 2020-06-23 14:49:45 +02:00
parent ca56608a63
commit ed97235bf8

@ -1,3 +1,8 @@
- name: Update package lists
apt:
update_cache: true
become: yes
- name: Install Python 3 pip
package:
name: