diff --git a/tasks/main.yml b/tasks/main.yml index dd6c60a..f03841e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,4 +6,6 @@ - include_tasks: pacman.yml when: ansible_facts['distribution'] == "Archlinux" +- include_tasks: packages.yml + - include_tasks: directories.yml diff --git a/tasks/pacman.yml b/tasks/pacman.yml index 399fa10..dd7d606 100644 --- a/tasks/pacman.yml +++ b/tasks/pacman.yml @@ -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 \ No newline at end of file