[Ansible Galaxy] Use Ansible andrewrothstein.vagrant to install Vagrant

andrewrothstein.vagrant

Installs Vagrant by HashiCorp - https://www.vagrantup.com/.

Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the “works on my machine” excuse a relic of the past.

Installation

First, Install Ansible.

1
2
3
4
# Mac OS X
$ brew install ansible

$ ansible --version

Then, install it use:

1
$ ansible-galaxy install andrewrothstein.vagrant

Requirements

See meta/main.yml

Role Variables

See defaults/main.yml

Dependencies

See meta/main.yml

Example Playbook

1
2
3
-  hosts: servers
roles:
- andrewrothstein.vagrant

References

[1] andrewrothstein/ansible-vagrant - https://github.com/andrewrothstein/ansible-vagrant

[2] andrewrothstein/vagrant | Ansible Galaxy - https://galaxy.ansible.com/andrewrothstein/vagrant

[3] Vagrant by HashiCorp - https://www.vagrantup.com/

[4] Ansible is Simple IT Automation - https://www.ansible.com/

[5] Installing Ansible — Ansible Documentation - https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html