mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 02:50:15 +08:00
37 lines
691 B
YAML
37 lines
691 B
YAML
---
|
|
# Configuration for Bugyou Plugins
|
|
|
|
- name: install needed packages for bugyou_plugins
|
|
yum: pkg={{ 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
|