diff --git a/tasks/packages.yml b/tasks/packages.yml index c2a7cf4..6f5ac46 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -16,6 +16,14 @@ - 3056513887B78AEB # chaotic-AUR when: item not in repo_keys.stdout +- name: Install chaotic AUR + pacman: + name: "{{ item }}" + become: true + loop: + - https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst + - https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst + - name: Install pacman config template: src: ./files/pacman.conf @@ -40,14 +48,6 @@ mode: 0640 changed_when: false -- name: Install chaotic AUR - pacman: - name: "{{ item }}" - become: true - loop: - - https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst - - https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst - - name: Update package repositories pacman: update_cache: true