summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2023-06-11 15:41:20 +0200
committeruvok cheetah2023-06-11 15:41:20 +0200
commit0bc71f8c1387970dbae3f0369d1861d5d6cfc3d6 (patch)
treef3ce904f3c919d69a281ae615376c32fecc14b8f
parent1c0951c3eba906c996e0aa8b59f5e04a4b1a1ce9 (diff)
Update playbook to fix sources.list
-rw-r--r--fixsources.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/fixsources.yml b/fixsources.yml
new file mode 100644
index 0000000..e572cb6
--- /dev/null
+++ b/fixsources.yml
@@ -0,0 +1,16 @@
+- name: Fixup sources.list
+ hosts: internal
+ tasks:
+ - name: Replace ftp.uni-stuttgart.de with ftp.uni-bayreuth.de in sources.list
+ replace:
+ path: "/etc/apt/sources.list"
+ regexp: "ftp.uni-stuttgart.de"
+ replace: "ftp.uni-bayreuth.de"
+ backup: true
+ - name: Revert security mirror
+ replace:
+ path: "/etc/apt/sources.list"
+ regexp: "ftp.uni-bayreuth.de/debian-security"
+ replace: "security.debian.org/debian-security"
+ backup: true
+