forked from EMBL-EBI-TSI/ansible-playbook-gridftp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
35 lines (28 loc) · 941 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.ssh.insert_key = true
config.vm.box = "boxcutter/centos72"
config.vm.define "gridftp-server.local" do |box|
box.vm.network "private_network", ip: "192.168.77.11"
box.vm.hostname = "gridftp-server.local"
end
config.vm.define "gridftp-client.local" do |box|
box.vm.network "private_network", ip: "192.168.77.12"
box.vm.hostname = "gridftp-client.local"
box.vm.provision "ansible" do |ansible|
ansible.playbook = "site.yml"
ansible.limit = "all"
ansible.groups = {
"gridftp-servers" => ["gridftp-server.local"],
"gridftp-clients" => ["gridftp-client.local"]
}
ansible.sudo = true
# ansible.ask_vault_pass = true
# ansible.vault_password_file = "vault_pass_file"
# ansible.tags = ""
# ansible.skip_tags = ""
# ansible.verbose = "vv"
end
end
end