From da563b144960c9254d3b611f779354eb10a1dcf0 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Fri, 13 Feb 2015 09:07:53 +0000 Subject: [PATCH] changing back to sane way of dealing with taskotron client yumrepo config --- roles/taskotron/taskotron-client/tasks/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/taskotron/taskotron-client/tasks/main.yml b/roles/taskotron/taskotron-client/tasks/main.yml index 353e6b81d2..2733bda5d5 100644 --- a/roles/taskotron/taskotron-client/tasks/main.yml +++ b/roles/taskotron/taskotron-client/tasks/main.yml @@ -14,12 +14,13 @@ - name: generate taskotron.yaml config file template: src=taskotron.yaml.j2 dest=/etc/taskotron/taskotron.yaml owner=root group=root mode=0644 -- name: upload yumrepoinfo.conf - copy: src=yumrepoinfo.conf dest=/etc/taskotron/yumrepoinfo.conf owner=root group=root mode=0644 +# getting rid of this because it leads to out-of-date config setups +# should be deleted soon +#- name: upload yumrepoinfo.conf +# copy: src=yumrepoinfo.conf dest=/etc/taskotron/yumrepoinfo.conf owner=root group=root mode=0644 -# disabled for now since we're uploading the config file -#- name: set baseurl of yumrepoinfo.conf -# replace: dest=/etc/taskotron/yumrepoinfo.conf regexp='baseurl = http://download\.fedoraproject\.org/.*' replace='baseurl = http://infrastructure.fedoraproject.org/pub/fedora/linux' +- name: set baseurl of yumrepoinfo.conf + replace: dest=/etc/taskotron/yumrepoinfo.conf regexp='baseurl = http://download\.fedoraproject\.org/.*' replace='baseurl = http://infrastructure.fedoraproject.org/pub/fedora/linux' # disabled for now until interaction with hosts role is figured out #- name: update /etc/hosts so that koji downloads work