summaryrefslogtreecommitdiffstats
path: root/vagrant_support/update.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant_support/update.yml')
-rw-r--r--vagrant_support/update.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/vagrant_support/update.yml b/vagrant_support/update.yml
new file mode 100644
index 000000000..879345c57
--- /dev/null
+++ b/vagrant_support/update.yml
@@ -0,0 +1,23 @@
+---
+- hosts: web
+ become: true
+ tasks:
+
+ - name: add local symlink
+ file: path=/vagrant/local src=/opt/bmo/local state=link force=true
+
+ - name: make bmo data dir
+ file: path=/data state=directory owner=vagrant group=apache mode=0775
+
+ - name: fix owner of /vagrant
+ file: path=/vagrant state=directory owner=vagrant group=apache recurse=yes
+
+ - name: add data symlink
+ file: path=/vagrant/data src=/data state=link force=true
+
+ - include: checksetup.yml
+ vars:
+ LAZY: 1
+ - include: apache.yml
+ vars:
+ LAZY: 1 \ No newline at end of file