From 9255ce2129cc203d32c2a042f18e4e1f97e79fbb Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Fri, 4 Sep 2015 04:25:49 +0000 Subject: [PATCH] remove a repo on the NeCTAR CentOS 7 image that is producing problems --- roles/fastest_mirror/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/fastest_mirror/tasks/main.yml b/roles/fastest_mirror/tasks/main.yml index 9e2940d7..b5f720a8 100644 --- a/roles/fastest_mirror/tasks/main.yml +++ b/roles/fastest_mirror/tasks/main.yml @@ -3,6 +3,10 @@ sudo: true when: ansible_os_family == 'RedHat' +- name: remove the bad repo on centos7 images + file: path=/etc/yum.repos.d/rdo-release.repo state=absent + sudo: true + - name: "Make yum cache" command: yum makecache sudo: true -- GitLab