-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCONFIG.yaml
95 lines (75 loc) · 2.59 KB
/
CONFIG.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
# | ............................................................................
# | Config Ansible
# | ............................................................................
# | ······ Set Domain URL
wpDomain : 'mywordpress.local'
# | ······ MySQL Config
mysqlUser : 'root'
mysqlPass : 'vagrant'
mysqlTemplatePath : 'templates/my.cnf'
# | ······ MySQL Database
dbName : 'wordpress'
dbUser : 'wordpress'
dbPass : 'vagrant'
# | ······ Wordpress Config
wp_path : '/home/vagrant/www'
wordpressTemPath : 'templates/wp-config.php'
vhostTemplatePath : 'templates/vhost.conf'
# | ······ Vagrant User and Group
home : '/home/vagrant'
owner : 'vagrant'
group : 'vagrant'
# | ............................................................................
# | ### Config VirtualBox VM
# | ............................................................................
vms:
- name : vag-wordpress
box : bento/ubuntu-16.04
box_version : 2.2.9
box_check_update : false
ram : 2048
cpus : 2
# | ······ Defining Netword
network :
ip_private : 192.168.70.70
ip_public : 10.0.0.70
# bridge : 'eth0'
# | ······ Defining a Forwarded Port
ports :
- guest : 8080
host : 8080
- guest : 8088
host : 8088
# | ······ Config Synced folders
syncDir :
- host : share
guest : /home/vagrant/share
dmode : 766
fmode : 766
- host : www
guest : /home/vagrant/www
owner : www-data
group : www-data
dmode : 775
fmode : 775
- host : html
guest : /home/vagrant/html
owner : www-data
group : www-data
dmode : 775
fmode : 775
# | ······ Ansible privision
ansible :
verbose : v
playbook : ansible/playbook.yaml
inventory_path : ansible/inventory
host_key_checking: false
limit : all
# | ······ GUI
# gui : true
# | ······ Bash privision
# bash : bash/init.sh
# | ······ Puppet privision
# puppet : init.pp
# ..............................................................................