Install vagrant with Ansible
None.
Available variables are listed below, along with default values (see defaults/main.yml
and vars/main.yml
):
Update the version of vagrant installed
vagrant_update: false
Pin the version of vagrant to install, if omitted then it will query GitHub for the latest version. By default this is commented out.
# vagrant_version: 2.4.1
None.
The following is an example of how to use this role:
- hosts: server
vars_files:
- vars/main.yml
roles:
- role: jeffreyjs.vagrant
vars:
vagrant_update: true
vagrant_version: "2.4.1"
MIT / BSD