Commit 28a08c70 authored by Albert's avatar Albert
Browse files

added update aptcache

parent 0914b137
......@@ -43,6 +43,15 @@
until: _update_apt_cache is succeeded
retries: 5
delay: 2
- name: Update apt cache
apt:
update_cache: true
register: _pre_update_apt_cache
until: _pre_update_apt_cache is succeeded
retries: 5
delay: 2
when:
- ansible_pkg_mgr == "apt"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment