9 lines
157 B
YAML
9 lines
157 B
YAML
|
---
|
||
|
- name: Prepare
|
||
|
hosts: all
|
||
|
tasks:
|
||
|
- name: Ensure apt cache is updated
|
||
|
apt:
|
||
|
update_cache: true
|
||
|
when: ansible_pkg_mgr == 'apt'
|