summaryrefslogtreecommitdiffstats
path: root/vagrant_support/apache.yml
blob: 2d65965ab342896e1f9aef422ba36466e3143e84 (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: disable httpd
  service: name=httpd enabled=no
  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: stop httpd
  service: name=httpd state=stopped