From 2aa4b372eba4f2adb3368857c1edb0b67d4eea3e Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Thu, 12 Feb 2015 17:04:59 +0000 Subject: [PATCH] upload the taskotron client's yumrepoinfo.conf instead of modifying the packaged version --- roles/taskotron/taskotron-client/tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/taskotron/taskotron-client/tasks/main.yml b/roles/taskotron/taskotron-client/tasks/main.yml index 60f5e853d5..353e6b81d2 100644 --- a/roles/taskotron/taskotron-client/tasks/main.yml +++ b/roles/taskotron/taskotron-client/tasks/main.yml @@ -14,8 +14,12 @@ - name: generate taskotron.yaml config file template: src=taskotron.yaml.j2 dest=/etc/taskotron/taskotron.yaml owner=root group=root mode=0644 -- 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: 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' # disabled for now until interaction with hosts role is figured out #- name: update /etc/hosts so that koji downloads work