summaryrefslogtreecommitdiffstats
path: root/roles/abrt/faf/tasks/web.yml
blob: 69c0b8e45e9a6db763abb05497f8be91e78d8f18 (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

- set_fact:
    url_suffix: ""
  when: faf_web_on_root

- set_fact:
    url_suffix: "/faf"
  when: not faf_web_on_root

- name: install faf-webui packages
  yum : name={{ item }} state=latest
  with_items: "{{ faf_web_packages }}"

- include: celery.yml
  when: faf_with_celery

- name: install faf web symboltransfer packages
  yum: pkg={{ item }} state=installed
  with_items: "{{ faf_web_symboltransfer_packages }}"
  when: faf_with_symboltransfer

- name: provide /etc/faf/plugins/web.conf
  template: src=etc-faf-plugins-web.conf.j2
    dest=/etc/faf/plugins/web.conf
  notify:
  - restart httpd

- name: put webfaf on root (/) if configured
  template: src=etc-httpd-conf.d-faf-web.conf.j2
    dest=/etc/httpd/conf.d/faf-web.conf
  notify:
  - restart httpd