From 8d688e54a1d68b2f02b397a193a05c5762e691d7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 2 May 2014 19:16:50 +0100 Subject: Add vagrant configuration with ansible provisioning --- tag-vagrant/vagrant.d/ansible/debian.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tag-vagrant/vagrant.d/ansible/debian.yml (limited to 'tag-vagrant/vagrant.d/ansible/debian.yml') diff --git a/tag-vagrant/vagrant.d/ansible/debian.yml b/tag-vagrant/vagrant.d/ansible/debian.yml new file mode 100644 index 0000000..9e06af6 --- /dev/null +++ b/tag-vagrant/vagrant.d/ansible/debian.yml @@ -0,0 +1,15 @@ +- get_url: + url: https://thoughtbot.github.io/rcm/debs/rcm_1.2.2-2_all.deb + dest: /tmp/rcm.deb + +- command: dpkg --skip-same-version -i /tmp/rcm.deb + register: dpkg + changed_when: "dpkg.stdout.startswith('Selecting')" + +- name: Ensure that tools are installed + with_items: packages + apt: + pkg: "{{ item }}" + state: present + cache_valid_time: 86400 + update_cache: yes \ No newline at end of file -- cgit 1.4.1