summaryrefslogtreecommitdiffstats
path: root/vagrant_support/checksetup.yml
blob: 580cc9dd9f9f6e1e3f6cea536ec6eb45530ec87f (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
27
28
29
30
31
32
---
- name: bmo checksetup script
  template:
    src: bmo-checksetup.j2
    dest: /usr/local/bin/bmo-checksetup
    mode: 0755
  when: LAZY == 0

- name: bmo generate data script
  template:
    src: bmo-generate-data.j2
    dest: /usr/local/bin/bmo-generate-data
    mode: 0755
  when: LAZY == 0

- name: bmo checksetup answers
  template:
    src: checksetup_answers.j2
    dest: /home/vagrant/checksetup_answers.txt
    owner: vagrant
    group: vagrant
    mode: 0644
  when: LAZY == 0

- name: run checksetup
  become: false
  shell: sg apache -c '/usr/local/bin/bmo-checksetup --no-templates'

- name: generate data
  become: false
  shell: sg apache -c '/usr/local/bin/bmo-generate-data'