marverix.vagrant
Ansible Role: Vagrant
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
The simplest one
--- - hosts: all roles: - marverix.vagrantInstall Vagrant 2.2.2
--- - hosts: all roles: - role: marverix.vagrant vars: vagrant_version: 2.2.2 vagrant_package_checksum: deb: 4dec711612c4350733e01745ab9f5acee2fbf9756ab9728b19a4664cae5c275d rpm: 1826ff2220951766b65d549f3e6e38f1eb07ff0b4c66197582b1ce62f9104035Note: Here is a list of all released Vagrant versions https://releases.hashicorp.com/vagrant/
License
ISC
About
Ansible role that installs Vagrant on Linux
Install
ansible-galaxy install marverix.vagrantLicense
isc
Downloads
184
Owner
Everyday normal Software Engineer
