'--copy-links',
'--exclude=local/',
'--exclude=data/',
+ '--exclude=logs/',
'--exclude=template_cache/',
'--exclude=localconfig',
'--include=.git/'
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
+ service: name=httpd state=restarted
\ No newline at end of file
mode: 0644
when: LAZY == 0
+- name: fix owner of /vagrant/template_cache
+ file: path=/vagrant/template_cache state=directory owner=vagrant group=apache recurse=yes
+
+- name: fix owner of /data
+ file: path=/data state=directory owner=vagrant group=apache recurse=yes
+
- name: run checksetup
become: false
shell: sg apache -c '/usr/local/bin/bmo-checksetup --no-templates'
LAZY: 0
- import_tasks: devtools.yml
- - name: fix owner of /vagrant/template_cache
- file: path=/vagrant/template_cache state=directory owner=vagrant group=apache recurse=yes
-
- - name: fix owner of /data
- file: path=/data state=directory owner=vagrant group=apache recurse=yes
-