CORD-993
Eliminate elastic VM, install elasticstack on prod
remove old elastic VM config, install python-netaddr
Change-Id: I27f155733bc5c374e22cefec33086480ecb89df3
diff --git a/Vagrantfile b/Vagrantfile
index d4d4735..d7401ad 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -10,31 +10,6 @@
end
config.vm.synced_folder '.', '/vagrant', disabled: true
- config.vm.define "elastic" do |d|
- d.ssh.forward_agent = true
- d.vm.box = "ubuntu/trusty64"
- d.vm.synced_folder '.', '/vagrant', disabled: true
-
- d.vm.network :forwarded_port, guest: 5601, host: 5601, host_ip: '*'
- d.vm.network :forwarded_port, guest: 80, host: 9080, host_ip: '*'
- d.vm.network :forwarded_port, guest: 9200, host: 9200, host_ip: '*'
- d.vm.network :forwarded_port, guest: 5617, host: 5617, host_ip: '*', protocol: "udp"
- d.vm.network :forwarded_port, guest: 2514, host: 2514, host_ip: '*'
- d.vm.network :forwarded_port, guest: 4560, host: 4560, host_ip: '*'
-
- d.vm.hostname = "elastic"
- d.vm.network "private_network", ip: "10.100.198.222"
- d.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
- d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/build/ansible/elastic.yml -c local"
- d.vm.provider "virtualbox" do |v|
- v.memory = 4096
- end
- d.vm.provider :libvirt do |v, override|
- v.memory = 4096
- override.vm.synced_folder "..", "/cord", type: "nfs"
- end
- end
-
config.vm.define "corddev" do |d|
d.ssh.forward_agent = true
d.vm.box = "ubuntu/trusty64"
@@ -73,6 +48,7 @@
libvirt__dhcp_enabled: false
d.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/build/ansible/prod.yml -c local"
+ d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 cd /cord/build/platform-install; ansible-playbook -i inventory/head-localhost deploy-elasticstack-playbook.yml"
d.vm.provider "virtualbox" do |v|
v.memory = 2048
end