https://github.com/marverix/ansible-role-vagrant
Ansible role that installs Vagrant on Linux
https://github.com/marverix/ansible-role-vagrant
ansible ansible-galaxy-role ansible-role hashicorp vagrant
Last synced: 2 months ago
JSON representation
Ansible role that installs Vagrant on Linux
- Host: GitHub
- URL: https://github.com/marverix/ansible-role-vagrant
- Owner: marverix
- License: isc
- Created: 2020-04-25T21:18:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T17:36:59.000Z (over 5 years ago)
- Last Synced: 2025-04-09T20:46:29.726Z (over 1 year ago)
- Topics: ansible, ansible-galaxy-role, ansible-role, hashicorp, vagrant
- Homepage: https://galaxy.ansible.com/marverix/vagrant
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: Vagrant
[](https://travis-ci.com/marverix/ansible-role-vagrant)


[](LICENSE)
Ansible role that installs Vagrant on Linux.
## Features
- ✔️ Installing Vagrant
- Does the package's checksum check
- You can define which version should be installed
- ✔️ Tested with Molecule Verify
## Supported Platforms
- ✔️ Ubuntu 16.04 (Xenial)
- ✔️ Ubuntu 18.04 (Bionic)
- ✔️ Ubuntu 20.04 (Focal)
- ✔️ CentOS 7
- ✔️ CentOS 8
## Requirements
None
## Role Variables
Variable | Description | Default Value
--- | --- | ---
`vagrant_version` | Version of Vagrant to be installed | `2.2.15`
`vagrant_package_checksum` | SHA256 checksums for packages | *checksums for 2.2.15 version*
## Dependencies
None
## Example Playbook
1. The simplest one
```yml
---
- hosts: all
roles:
- marverix.vagrant
```
1. Install Vagrant 2.2.2
```yml
---
- hosts: all
roles:
- role: marverix.vagrant
vars:
vagrant_version: 2.2.2
vagrant_package_checksum:
deb: 4dec711612c4350733e01745ab9f5acee2fbf9756ab9728b19a4664cae5c275d
rpm: 1826ff2220951766b65d549f3e6e38f1eb07ff0b4c66197582b1ce62f9104035
```
Note: Here is a list of all released Vagrant versions https://releases.hashicorp.com/vagrant/
## License
ISC