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