summaryrefslogtreecommitdiffstats
path: root/roles/openshift_repos/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-11-02 13:38:15 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-11-02 13:38:25 -0400
commit2e146b9eac372f7c74d47b427c6aecb07a2016a5 (patch)
treeffc7b01d7b800ff0f9520cea9e4f61eff257bda4 /roles/openshift_repos/tasks
parent129e91a3654943228c9ddeb38d6119a706cedcc2 (diff)
downloadopenshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.tar.gz
openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.tar.bz2
openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.tar.xz
openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.zip
Remove old /etc/yum.repos.d/openshift_additional.repo file.
Diffstat (limited to 'roles/openshift_repos/tasks')
-rw-r--r--roles/openshift_repos/tasks/main.yaml5
1 files changed, 5 insertions, 0 deletions
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)) }}"