Install chaotic aur mirrorlist before pacman conf
Otherwise the pacman conf is invalid
This commit is contained in:
parent
a42f88d59e
commit
d6d546aba9
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue