Skip to content

jdauphant/ansible-role-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-vagrant

Install vagrant with Ansible

Local installation : (ansible need to be installed)

git clone https://github.com/jdauphant/ansible-role-vagrant.git
ansible-playbook -i "localhost," --ask-sudo-pass --connection=local installation.yml

Simple Usage :

---
 - hosts: all
   roles:
    - vagrant

Usage with version specification

---
 - hosts: all
   roles:
    - role: vagrant
      vagrant_version: "1.6.3"

Specify virtualbox installation (For Debian)

---
 - hosts: all
   roles:
    - role: vagrant
      vagrant_virtualbox_install: True
      vagrant_virtualbox_ver: "virtualbox-5.1"