Skip to content

ahsouza/provisionamento-agil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orquestration of Virtual Machines with Vagrant

alt text

Vagrant currently supports the following providers

  • VirtualBox
  • Hyper-V
  • VMWARE
  • KVM
  • Azure
  • AWS
  • Google
  • Digitalocean
  • Proxmox
  • Openstack
  • Docker

Installing VirtualBox Oracle v.5.2 in Linux

wget -c https://download.virtualbox.org/virtualbox/5.2.20/VirtualBox-5.2.20-125813-Linux_amd64.run -O virtualbox.run

Permissao de execução

chmod +x virtualbox.run

Exec file with sudo

sudo ./virtualbox.run

Installing Vagrant in Linux

sudo apt-get install vagrant

Start Vagrant

vagrant init

Installing Ansible in Linux

sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible

Check Installation

ansible-playbook -h

Commands Vagrant

Raise a virtual machine

vagrant up

Stop a virtual machine

vagrant halt

Destroy a virtual machine

vagrant destroy

Access via SSH a virtual machine

vagrant ssh

Run only the shell script provisioning driver

vagrant provision

alt text