fix package cache on install and update packages

This commit is contained in:
Beth Parker 2025-03-20 18:57:53 -05:00
parent 6813d5e023
commit efd2e2a075
2 changed files with 7 additions and 0 deletions

View file

@ -6,4 +6,6 @@
- include_tasks: pacman.yml - include_tasks: pacman.yml
when: ansible_facts['distribution'] == "Archlinux" when: ansible_facts['distribution'] == "Archlinux"
- include_tasks: packages.yml
- include_tasks: directories.yml - include_tasks: directories.yml

View file

@ -44,3 +44,8 @@
name: build_mirrorlist.timer name: build_mirrorlist.timer
state: started state: started
enabled: yes enabled: yes
- name: refresh package cache and upgrade packages
community.general.pacman:
upgrade: true
update_cache: true