adding taskotron-client role
This commit is contained in:
parent
94902fd02d
commit
2be9e18a1b
5 changed files with 183 additions and 1 deletions
25
roles/taskotron/taskotron-client/tasks/main.yml
Normal file
25
roles/taskotron/taskotron-client/tasks/main.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
- name: ensure packages required for libtaskotron are installed
|
||||
action: yum name={{ item }} state=latest
|
||||
with_items:
|
||||
- PyYAML
|
||||
- libtaskotron
|
||||
|
||||
- name: ensure packages required for taskotron tasks are installed
|
||||
action: yum name={{ item }} state=latest
|
||||
with_items:
|
||||
- python-solv
|
||||
- python-librepo
|
||||
- rpmlint
|
||||
|
||||
- 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
|
||||
|
||||
# disabled for now until interaction with hosts role is figured out
|
||||
#- name: update /etc/hosts so that koji downloads work
|
||||
# template: src=hosts.j2 dest=/etc/hosts owner=root group=root mode=0644
|
||||
|
||||
- name: create /var/log/taskotron for task logfiles
|
||||
file: path=/var/log/taskotron state=directory owner={{ slave_user }} group={{ slave_user }} mode=1755
|
Loading…
Add table
Add a link
Reference in a new issue