summaryrefslogtreecommitdiffstats
path: root/roles/bugyou/bugyou-master/tasks/main.yml
blob: 9b10c7d37d6ee4494fcb3796a63180fba912e8c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
# Configuration for Bugyou

- name: install needed packages for bugyou
  yum: pkg={{ item }} state=present enablerepo=epel-testing
  with_items:
  - bugyou
  notify:
  - restart fedmsg-hub
  tags:
  - bugyou
  - bugyou/master

- name: copy bugyou fedmsg configuration
  template: >
    src={{ item }} dest=/etc/fedmsg.d/{{ item }}
    owner=root group=fedmsg mode=0640
  with_items:
  - bugyou.py
  notify:
  - restart fedmsg-hub
  tags:
  - bugyou
  - bugyou/master