upload the taskotron client's yumrepoinfo.conf instead of modifying the packaged version

This commit is contained in:
Tim Flink 2015-02-12 17:04:59 +00:00
parent 0670fc4f1f
commit 2aa4b372eb

View file

@ -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