Skip to content

Commit

Permalink
Add mirrorlist
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmarchione committed May 31, 2024
1 parent f67cfda commit 7cefcb2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roles/02_basics/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
mode: 0644
become: true

- name: Update mirrorlist
ansible.builtin.template:
src: mirrorlist
dest: /etc/pacman.d/mirrorlist
backup: no
owner: root
group: root
mode: 0644
become: true

- name: Update pacman configuration file
ansible.builtin.template:
src: pacman.conf.j2
Expand Down
15 changes: 15 additions & 0 deletions roles/02_basics/templates/mirrorlist
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
##
## Generated on 2024-05-31
##

Server = https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch
Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch
Server = https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch
Server = https://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch
Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
Server = https://mirrors.mit.edu/archlinux/$repo/os/$arch
Server = https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch

0 comments on commit 7cefcb2

Please sign in to comment.