summaryrefslogtreecommitdiffstats
path: root/vagrant_support/update.yml
blob: c53a0554e7cd94fb0ce08483cf6a45c8fbf0c606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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_tasks: checksetup.yml
      vars:
        LAZY: 1
    - include_tasks: apache.yml
      vars:
        LAZY: 1