Compare commits
No commits in common. "prod" and "v1.0" have entirely different histories.
4 changed files with 2 additions and 9 deletions
|
@ -1,3 +1,3 @@
|
||||||
[aur-local]
|
[aur-local]
|
||||||
SigLevel = Never
|
SigLevel = Never
|
||||||
Server = https://pkg.actcur.com/repo/archlinux/$repo/os/$arch
|
Server = http://pkg.actcur.com/archlinux/$repo/os/$arch
|
||||||
|
|
|
@ -3,7 +3,7 @@ sleep 10
|
||||||
sed -i 's/^#Server/Server/' /tmp/tempMirrors.list
|
sed -i 's/^#Server/Server/' /tmp/tempMirrors.list
|
||||||
cat /tmp/tempMirrors.list | grep -e "Server = .*\/[$]repo\/os\/[$]arch" > /tmp/tempMirrors2.list
|
cat /tmp/tempMirrors.list | grep -e "Server = .*\/[$]repo\/os\/[$]arch" > /tmp/tempMirrors2.list
|
||||||
mirrors=$(rankmirrors -n 10 /tmp/tempMirrors2.list | grep "Server = ")
|
mirrors=$(rankmirrors -n 10 /tmp/tempMirrors2.list | grep "Server = ")
|
||||||
echo 'Server = https://pkg.actcur.com/repo/archlinux/$repo/os/$arch' > /tmp/mirrors.list
|
echo "Server = http://pkg.actcur.com/archlinux/$repo/os/$arch" > /tmp/mirrors.list
|
||||||
echo "$mirrors" >> /tmp/mirrors.list
|
echo "$mirrors" >> /tmp/mirrors.list
|
||||||
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.old
|
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.old
|
||||||
mv /tmp/mirrors.list /etc/pacman.d/mirrorlist
|
mv /tmp/mirrors.list /etc/pacman.d/mirrorlist
|
||||||
|
|
|
@ -6,6 +6,4 @@
|
||||||
- include_tasks: pacman.yml
|
- include_tasks: pacman.yml
|
||||||
when: ansible_facts['distribution'] == "Archlinux"
|
when: ansible_facts['distribution'] == "Archlinux"
|
||||||
|
|
||||||
- include_tasks: packages.yml
|
|
||||||
|
|
||||||
- include_tasks: directories.yml
|
- include_tasks: directories.yml
|
||||||
|
|
|
@ -44,8 +44,3 @@
|
||||||
name: build_mirrorlist.timer
|
name: build_mirrorlist.timer
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- name: refresh package cache and upgrade packages
|
|
||||||
community.general.pacman:
|
|
||||||
upgrade: true
|
|
||||||
update_cache: true
|
|
Loading…
Add table
Reference in a new issue