]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix some errors in the vagrant setup
authorDylan William Hardison <dylan@hardison.net>
Fri, 2 Jun 2017 20:57:02 +0000 (16:57 -0400)
committerDylan William Hardison <dylan@hardison.net>
Fri, 2 Jun 2017 20:57:05 +0000 (16:57 -0400)
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.

vagrant_support/cron.yml
vagrant_support/playbook.yml

index 791ecf3f3e734602156514e1c1bcf4761f904949..c61ffea9e761b931234ffa1b19d047e7f50c294b 100644 (file)
@@ -1,6 +1,5 @@
 - name: set cron mailto
   cron:
-    name: set cron mailto
     env: yes
     name: MAILTO
     value: vagrant@localhost
index a8deeca27e6997c2060f86d192cc593de517ee6e..f89d5295e021c27ec79298b174521b21aa5d229d 100644 (file)
     - 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
+