mirror of
https://github.com/geerlingguy/ansible-for-devops.git
synced 2024-05-19 06:50:03 +00:00
Issue #83: Update apt cache before installing the pip 2 package.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
- hosts: all
|
||||
|
||||
tasks:
|
||||
- name: Ensure apt cache is updated.
|
||||
apt: update_cache=yes cache_valid_time=600
|
||||
|
||||
- name: Ensure the older Python 2 pip is available.
|
||||
package: name=python-pip state=present
|
||||
|
||||
|
||||
Reference in New Issue
Block a user