Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Uses ansible to install the specified version of Hashicorp Vagrant

License

Notifications You must be signed in to change notification settings

pgporada/ansible-role-vagrant

Repository files navigation

pgporada.vagrant License

Overview: pgporada.vagrant

One less thing for me to have to go out to the internet to grab when setting up my dev machine(s).


Role Variables

Installs the specified version of Hashicorp Vagrant.

vagrant_version: 2.2.3

Example Playbook

To run the local playbook, issue the following command.

ansible-playbook local_playbook.yml -b -K

To use this role in another playbook

cat << EOF > some_playbook.yml
---
- hosts: localhost
  connection: local
  vars:
    vagrant_version: 2.2.3
  roles:
    - pgporada.vagrant
...
EOF
ansible-playbook some_playbook.yml -b -K

How to hack away at this role

Before submitting a PR, please create a test and run it through test-kitchen. You will need a ruby environment with gem and bundler for these tests.

# This takes care of twiddling all the bits that need to be updated when bumping the terraform version
./update_automagic.sh x.x.x

# This will run your terraform update through the test system
bundle update
bundle install
bundle exec kitchen create
bundle exec kitchen converge
bundle exec kitchen verify
bundle exec kitchen destroy

License and Author Information

GPLv3

(C) ]Phil Porada](https://philporada.com) 2017 - philporada@gmail.com


Theme Song

Phil Pratt - Star Wars Dub

Releases

No releases published

Packages

No packages published