mirror of
https://github.com/luzifer-ansible/pacman.git
synced 2024-12-22 19:01:17 +00:00
Add update_cache step
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
99dda06368
commit
16dfef2bd0
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
|
||||
pacman_packages: []
|
||||
pacman_update_cache: false
|
||||
|
||||
...
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
---
|
||||
|
||||
- name: Refresh Pacman caches
|
||||
pacman:
|
||||
update_cache: true
|
||||
when: pacman_update_cache
|
||||
|
||||
- name: Install Pacman packages
|
||||
pacman:
|
||||
force: '{{ item.force | default("no") }}'
|
||||
|
|
Loading…
Reference in a new issue