Skip to content
Snippets Groups Projects
Unverified Commit 36c1f32e authored by Sergey's avatar Sergey Committed by GitHub
Browse files

remove legacy docker repo in kubernetes/preinstall before any packages installed (#5640)

parent fa245ffd
Branches
Tags
No related merge requests found
...@@ -17,6 +17,14 @@ ...@@ -17,6 +17,14 @@
tags: tags:
- bootstrap-os - bootstrap-os
- name: Remove legacy docker repo file
file:
path: "{{ yum_repo_dir }}/docker.repo"
state: absent
when:
- ansible_distribution in ["CentOS","RedHat","OracleLinux"]
- not is_atomic
- name: Install python-dnf for latest RedHat versions - name: Install python-dnf for latest RedHat versions
command: dnf install -y python-dnf yum command: dnf install -y python-dnf yum
register: dnf_task_result register: dnf_task_result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment