This commit is contained in:
Marco Ochse 2024-03-24 18:15:58 +01:00
parent 42689cf902
commit 086116f64d

View file

@ -320,17 +320,12 @@
- "Raspbian" - "Raspbian"
- "Ubuntu" - "Ubuntu"
- name: Remove Docker repository (Fedora)
shell: dnf -y config-manager --remove-repo https://download.docker.com/linux/fedora/docker-ce.repo
when: ansible_distribution in ["Fedora"]
tags:
- "Fedora"
- name: Remove Docker repository (AlmaLinux, Rocky) - name: Remove Docker repository (AlmaLinux, Rocky)
file: file:
path: /etc/yum.repos.d/docker-ce.repo path: /etc/yum.repos.d/docker-ce.repo
state: absent state: absent
when: ansible_distribution in ["AlmaLinux", "Rocky"] when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
tags: tags:
- "AlmaLinux" - "AlmaLinux"
- "Fedora"
- "Rocky" - "Rocky"