Run Ansible provisioner for the validator vm
This commit is contained in:
parent
726694b1c8
commit
2ab5b4ef99
|
@ -4,10 +4,19 @@ ENV["LC_ALL"] = "en_US.UTF-8"
|
|||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "ubuntu/xenial64"
|
||||
config.vm.hostname = "validator"
|
||||
config.vm.network "private_network", ip: "192.168.57.10"
|
||||
|
||||
config.vm.define "vm-01"
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "1024"
|
||||
vb.memory = 1024
|
||||
vb.cpus = 1
|
||||
vb.name = "validator"
|
||||
end
|
||||
|
||||
config.vm.provision "ansible" do |ansible|
|
||||
ansible.playbook = "site.yml"
|
||||
ansible.groups = {
|
||||
"validator" => ["vm-01"]
|
||||
}
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue