Files
fedora-infra_ansible/roles/bugyou/bugyou-plugins/tasks/main.yml
Patrick Uiterwijk 936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00

38 lines
724 B
YAML

---
# Configuration for Bugyou Plugins
- name: install needed packages for bugyou_plugins
package: name={{ item }} state=present enablerepo=epel-testing
with_items:
- python-libpagure
- bugyou_plugins
- redis
notify:
- restart fedmsg-hub
tags:
- bugyou
- bugyou/plugins
- name: copy bugyou plugins configuration files
template: >
src={{ item }}
dest=/etc/bugyou/{{ item }}
owner=root
group=fedmsg
mode=0640
with_items:
- bugyou_plugins.cfg
- bugyou_services.cfg
notify:
- restart fedmsg-hub
tags:
- bugyou
- bugyou/plugins
- name: start the bugyou-cntrl
service: name=bugyou-cntrl state=started
tags:
- bugyou
- bugyou/plugins
when: env == "production"