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