master
1---
2- hosts: localhost
3
4 vars:
5 vagrant_url: http://files.vagrantup.com/packages/7e400d00a3c5a0fdf2809c8b5001a035415a607b/vagrant_1.2.2_x86_64.rpm
6 vbox_url: http://download.virtualbox.org/virtualbox/4.2.12/virtualbox-4.2_4.2.12-84980~Ubuntu~precise_amd64.deb
7
8 tasks:
9 - name: Install wget
10 apt: package=wget update_cache=yes state=latest
11
12 - name: wget files
13 action: wget -q {{ items }}
14 with_items: {{ vagrant_url }} {{ vbox_url }}