summaryrefslogtreecommitdiffstats
path: root/vagrant_support/apache.yml
blob: 5031187e35af03df3139f72c5831ec45afb3d5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
- name: configure httpd
  template:
    src: apache.j2
    dest: /etc/httpd/conf.d/bugzilla.conf
    mode: 0644
  when: LAZY == 0

- name: enable httpd
  service: name=httpd enabled=yes
  when: LAZY == 0

- name: ensure bugzilla.log has right permissions
  file: path=/vagrant/logs/bugzilla.log state=touch owner=vagrant group=apache mode=0660

- name: ensure bugzilla-json.log has right permissions
  file: path=/vagrant/logs/bugzilla-json.log state=touch owner=vagrant group=apache mode=0660

- name: restart httpd
  service: name=httpd state=restarted