marverix / ansible-role-vagrant

Ansible role that installs Vagrant on Linux

Home Page:https://galaxy.ansible.com/marverix/vagrant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: Vagrant

Build Status Ansible Quality Score Ansible Role License: ISC

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

    ---
    - hosts: all
      roles:
        - marverix.vagrant
  2. 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/

License

ISC

About

Ansible role that installs Vagrant on Linux

https://galaxy.ansible.com/marverix/vagrant

License:ISC License