From 2e146b9eac372f7c74d47b427c6aecb07a2016a5 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Thu, 2 Nov 2017 13:38:15 -0400 Subject: Remove old /etc/yum.repos.d/openshift_additional.repo file. --- roles/openshift_repos/tasks/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml index d41245093..95ba9fe4c 100644 --- a/roles/openshift_repos/tasks/main.yaml +++ b/roles/openshift_repos/tasks/main.yaml @@ -10,6 +10,11 @@ - name: Ensure libselinux-python is installed package: name=libselinux-python state=present + - name: Remove openshift_additional.repo file + file: + dest: /etc/yum.repos.d/openshift_additional.repo + state: absent + - name: Create any additional repos that are defined yum_repository: description: "{{ item.description | default(item.name | default(item.id)) }}" -- cgit v1.2.3