Skip to content
Snippets Groups Projects
Commit 6a631d7e authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: remove files associated with SLUB's custom Debian repo (legacy repo format)

parent 97634742
Branches
No related tags found
No related merge requests found
Pipeline #6295 passed
......@@ -13,6 +13,15 @@
ansible.builtin.apt_repository:
repo: "deb {{ vault_debrepo_url }}deb-repository {{ ansible_lsb.codename }} main"
state: absent
- name: >
REMOVE files associated with SLUB's custom Debian repo (legacy repo
format)
ansible.builtin.file:
path: "{{ item }}"
state: absent
loop:
- "/etc/apt/keyrings/slub-sdvdebianrepo-key.asc"
- "/etc/apt/sources.list.d/slub.list"
- name: add custom repo for SLUB's custom Debian repo
ansible.builtin.deb822_repository:
......@@ -25,7 +34,9 @@
suites: "{{ ansible_lsb.codename }}"
uris: "{{ vault_debrepo_url }}deb-repository"
notify: update package cache
- name: Flush handlers (we can't wait for the handler to fire if we want to install packages from the newly configured repo)
- name: >
Flush handlers (we can't wait for the handler to fire if we want to
install packages from the newly configured repo)
ansible.builtin.meta: flush_handlers
- name: add custom repositories
......@@ -47,7 +58,8 @@
gpgcheck: "false"
notify: update package cache
- name: remove legacy repo configuration to avoid double configuration for SLUB repo
- name: >
remove legacy repo configuration to avoid double configuration for SLUB repo
ansible.builtin.file:
path: "/etc/yum.repos.d/SLUB.repo"
state: absent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment