Install chaotic aur mirrorlist before pacman conf

Otherwise the pacman conf is invalid
This commit is contained in:
Jake Howard 2023-01-12 20:13:24 +00:00
parent a42f88d59e
commit d6d546aba9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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