fix package cache on install and update packages
This commit is contained in:
parent
6813d5e023
commit
efd2e2a075
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue