vagrant

ansible-role-vagrant

GitHub latest release Ansible Galaxy

:warning: Warning: this project is no longer maintained :warning:

I decided to convert the Ansible code to Bash for simplicity.


Ansible role to install Vagrant on Debian/Ubuntu hosts.

The installation steps were taken from: https://developer.hashicorp.com/vagrant/downloads.

Usage

  1. Install this role using the ansible-galaxy CLI tool
  2. You can then include it into the tasks section of your Ansible Playbook. See test/playbook.yml for an example of how to do that. Remember to replace the role name with dmotte.vagrant.

Note: this role must be run as root (ansible_become: true).

Role variables

(none)

Development

If you want to contribute to this project, you can use the test/playbook.yml file to test the role while editing it.

Place your inventory file (e.g. hosts.yml) inside the test folder.

You can then execute the playbook against your host:

cd test/
ansible-playbook -i hosts.yml playbook.yml
Install
ansible-galaxy install dmotte/ansible-role-vagrant
GitHub repository
License
mit
Downloads
88
Owner