fix baseurl in yumrepoinfo.conf instead of keeping a second copy of the entire file

This commit is contained in:
Tim Flink 2014-09-02 14:07:17 +00:00
parent 5be630b330
commit 8e2771b304

View file

@ -14,8 +14,8 @@
- 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 config
copy: src=yumrepoinfo.conf dest=/etc/taskotron/yumrepoinfo.conf 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'
# disabled for now until interaction with hosts role is figured out
#- name: update /etc/hosts so that koji downloads work