summaryrefslogtreecommitdiffstats
path: root/vagrant_support/update.yml
blob: 879345c577e099038cb924d029aa6f96e6ffd1a2 (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: checksetup.yml
      vars:
        LAZY: 1
    - include: apache.yml
      vars:
        LAZY: 1