forked from ISTI-ansible-roles/ansible-roles
library/roles/python-env/tasks/main.yml: Update the apt cache if needed.
This commit is contained in:
parent
dd968c6364
commit
2b8340c81e
|
@ -2,7 +2,7 @@
|
||||||
- block:
|
- block:
|
||||||
|
|
||||||
- name: Install python pip
|
- name: Install python pip
|
||||||
apt: name={{ item }} state={{ py_env_pkgs_state }} update_cache=yes
|
apt: name={{ item }} state={{ py_env_pkgs_state }} update_cache=yes cache_valid_time=600
|
||||||
with_items: '{{ py_env_basic_pkgs }}'
|
with_items: '{{ py_env_basic_pkgs }}'
|
||||||
|
|
||||||
- name: Install python deb packages
|
- name: Install python deb packages
|
||||||
|
|
Loading…
Reference in New Issue