diff options
author | Andrew Butcher <abutcher@redhat.com> | 2017-11-02 13:38:15 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2017-11-02 13:38:25 -0400 |
commit | 2e146b9eac372f7c74d47b427c6aecb07a2016a5 (patch) | |
tree | ffc7b01d7b800ff0f9520cea9e4f61eff257bda4 | |
parent | 129e91a3654943228c9ddeb38d6119a706cedcc2 (diff) | |
download | openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.tar.gz openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.tar.bz2 openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.tar.xz openshift-2e146b9eac372f7c74d47b427c6aecb07a2016a5.zip |
Remove old /etc/yum.repos.d/openshift_additional.repo file.
-rw-r--r-- | roles/openshift_repos/tasks/main.yaml | 5 |
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)) }}" |