summaryrefslogtreecommitdiffstats
path: root/vagrant_support
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-06-02 22:57:02 +0200
committerDylan William Hardison <dylan@hardison.net>2017-06-02 22:57:05 +0200
commitef7cfc1b8503432771f723adec81be5ad475a7a8 (patch)
tree4b1fe2943f3cce8c779586767033650efb70cc48 /vagrant_support
parent52376616db4118116d58d0004cfc47a2e07a5766 (diff)
downloadbugzilla-ef7cfc1b8503432771f723adec81be5ad475a7a8.tar.gz
bugzilla-ef7cfc1b8503432771f723adec81be5ad475a7a8.tar.xz
fix some errors in the vagrant setup
We had a duplicate name for one of the cron rules, because of how setting variables there works. Also, permissions of template_cache were problematic.
Diffstat (limited to 'vagrant_support')
-rw-r--r--vagrant_support/cron.yml1
-rw-r--r--vagrant_support/playbook.yml7
2 files changed, 7 insertions, 1 deletions
diff --git a/vagrant_support/cron.yml b/vagrant_support/cron.yml
index 791ecf3f3..c61ffea9e 100644
--- a/vagrant_support/cron.yml
+++ b/vagrant_support/cron.yml
@@ -1,6 +1,5 @@
- name: set cron mailto
cron:
- name: set cron mailto
env: yes
name: MAILTO
value: vagrant@localhost
diff --git a/vagrant_support/playbook.yml b/vagrant_support/playbook.yml
index a8deeca27..f89d5295e 100644
--- a/vagrant_support/playbook.yml
+++ b/vagrant_support/playbook.yml
@@ -174,3 +174,10 @@
- include: email.yml
- include: apache.yml
- include: 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
+