Update package cache and packages during install (#3)

Reviewed-on: #3
Co-authored-by: Beth <ejparker@actcur.com>
Co-committed-by: Beth <ejparker@actcur.com>
This commit is contained in:
Beth Parker 2025-03-20 21:59:30 -05:00 committed by Jayne
parent 234ee5de8c
commit d361ef054d
2 changed files with 7 additions and 0 deletions

View file

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

View file

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