From ef7cfc1b8503432771f723adec81be5ad475a7a8 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 2 Jun 2017 16:57:02 -0400 Subject: 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. --- vagrant_support/cron.yml | 1 - vagrant_support/playbook.yml | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 + -- cgit v1.2.3-24-g4f1b