-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathVagrantfile
43 lines (33 loc) · 1.2 KB
/
Vagrantfile
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "peru/ubuntu-18.04-server-amd64"
config.vm.define 'echaloasuerte1' do |machine|
machine.vm.hostname = 'echaloasuerte1'
machine.vm.network "private_network", ip: "192.168.77.22"
machine.vm.provision :ansible do |ansible|
ansible.playbook = "site3.yml"
ansible.verbose = 'vvvv'
ansible.extra_vars = {
ansible_ssh_user: 'vagrant',
ES_FQDN: "192.168.77.22.xip.io",
mail_password: "gmailpass",
TEST_DEPLOYMENT: "True",
cloudflare_api_token: "faketoken",
cloudflare_echaloasuerte_id: "fakeid",
cloudflare_woreep_id: "fakeid",
cloudflare_chooserandom_id: "fakeid",
pusher_secret: "fakesecret",
sentry_dsn: "https://dead:[email protected]/123456",
}
ansible.groups = {
"POSTGRESQL_DATABASES" => ["echaloasuerte1"],
"ECHALOASUERTE" => ["echaloasuerte1"],
}
# Disable default limit (required with Vagrant 1.5+)
ansible.limit = 'all'
end
end
end