summaryrefslogtreecommitdiffstats
path: root/roles/abrt/faf-local/tasks/main.yml
blob: f7ff81ea93124466df0cee3ab2184aa78a8ad0f9 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
# Install additional packages
- include: install.yml

# Create database for faf
- include: setup_db.yml

# Allow https and start httpd
- include: services.yml

# landing page
- name: install abrt-server-info-page
  yum: name=abrt-server-info-page state=latest

- name: configure ADMINS
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'ADMINS ='
    line: '    ADMINS = "infrastructure@lists.fedoraproject.org"'
  notify: restart httpd

- name: configure MORE_FAF
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'MORE_FAF ='
    line: '    MORE_FAF = "https://github.com/abrt/faf/"'
  notify: restart httpd

- name: configure MORE_RS
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'MORE_RS ='
    line: '    MORE_RS = "https://github.com/abrt/retrace-server"'
  notify: restart httpd

- name: configure MORE_ABRT
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'MORE_ABRT ='
    line: '    MORE_ABRT = "https://github.com/abrt/abrt/"'
  notify: restart httpd

- name: configure MORE_GABRT
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'MORE_GABRT ='
    line: '    MORE_GABRT = "https://github.com/abrt/gnome-abrt/"'
  notify: restart httpd

- name: configure MORE_LR
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'MORE_LR ='
    line: '    MORE_LR = "https://github.com/abrt/libreport/"'
  notify: restart httpd

- name: configure MORE_SATYR
  lineinfile:
    dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
    regexp: 'MORE_SATYR ='
    line: '    MORE_SATYR = "https://github.com/abrt/satyr/"'
  notify: restart httpd

- include: cron.yml
  tags: cron