summary refs log tree commit diff stats
path: root/vagrant/.vagrant.d/ansible/debian.yml
diff options
context:
space:
mode:
authorAlan Pearce2017-03-24 21:22:27 +0100
committerAlan Pearce2017-03-24 21:22:27 +0100
commitbbb26322199d41171595bff6d073bda1fa1fa62c (patch)
tree799f160f60327a1b026fd9f4065636e611ccafb0 /vagrant/.vagrant.d/ansible/debian.yml
parent0c4343e413bbc922954b417a639c60dfa007a0da (diff)
parent53f50286e177abb9d1ac4a7c239dcbcc3fed63b7 (diff)
downloaddotfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.lz
dotfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.zst
dotfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'vagrant/.vagrant.d/ansible/debian.yml')
-rw-r--r--vagrant/.vagrant.d/ansible/debian.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/vagrant/.vagrant.d/ansible/debian.yml b/vagrant/.vagrant.d/ansible/debian.yml
new file mode 100644
index 0000000..9e06af6
--- /dev/null
+++ b/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