-
-
Save dschep/b73ec5777151e99ebbf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Compute Vagrant latest version | |
sudo: no | |
shell: wget -qO - https://dl.bintray.com/mitchellh/vagrant/|sed -n 's/.*href=\"\([^"]*\).*/\1/p'|grep x86_64\.deb|tail -1|cut -d'%' -f2 | |
register: vagrant_file_name | |
- name: Download Vagrant latest version | |
sudo: no | |
get_url: url="https://dl.bintray.com/mitchellh/vagrant/{{ vagrant_file_name.stdout }}" dest="/tmp/{{ vagrant_file_name.stdout }}" | |
- name: Install Vagrant latest version | |
sudo: yes | |
apt: deb='/tmp/{{ vagrant_file_name.stdout }}' state=present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment