-
Notifications
You must be signed in to change notification settings - Fork 0
/
vwp.yml
51 lines (44 loc) · 840 Bytes
/
vwp.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#---
# This playbook deploys a gstore app
#
#- hosts: gstore
# remote_user:ubuntu
# sudo:yes
#
---
- hosts: all
remote_user: '{{ sudouser }}'
sudo: yes
roles:
- inv
- hosts: mongodb
remote_user: '{{ sudouser }}'
sudo: yes
roles:
- mongodb
- hosts: elasticsearch
remote_user: '{{ sudouser }}'
sudo: yes
roles:
- elasticsearch
- hosts: postgres
remote_user: '{{ sudouser }}'
sudo: yes
roles:
- postgres
vars_prompt:
- name: "admin_email"
prompt: "Enter a valid admin e-mail address"
private: no
- hosts: gstore
remote_user: '{{ sudouser }}'
sudo: yes
roles:
- gstore
vars_prompt:
- name: "git_username"
prompt: "Enter your github username."
private: yes
- name: "git_password"
prompt: "Enter your github password."
private: yes