Ansible role that installs Vagrant on Linux.
- ✔️ Installing Vagrant
- Does the package's checksum check
- You can define which version should be installed
- ✔️ Tested with Molecule Verify
- ✔️ Ubuntu 16.04 (Xenial)
- ✔️ Ubuntu 18.04 (Bionic)
- ✔️ Ubuntu 20.04 (Focal)
- ✔️ CentOS 7
- ✔️ CentOS 8
None
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 |
None
-
The simplest one
--- - hosts: all roles: - marverix.vagrant
-
Install Vagrant 2.2.2
--- - 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/
ISC