diff options
author | Alan Pearce | 2014-05-02 19:16:50 +0100 |
---|---|---|
committer | Alan Pearce | 2014-05-02 19:16:50 +0100 |
commit | 8d688e54a1d68b2f02b397a193a05c5762e691d7 (patch) | |
tree | 1dea8b23abe6f7f641c01e3972b7b127ff4c2f68 /tag-vagrant/vagrant.d/ansible/debian.yml | |
parent | 6ff45924c8e408668e0851fb5058700822c77e93 (diff) | |
download | nixfiles-8d688e54a1d68b2f02b397a193a05c5762e691d7.tar.lz nixfiles-8d688e54a1d68b2f02b397a193a05c5762e691d7.tar.zst nixfiles-8d688e54a1d68b2f02b397a193a05c5762e691d7.zip |
Add vagrant configuration with ansible provisioning
Diffstat (limited to 'tag-vagrant/vagrant.d/ansible/debian.yml')
-rw-r--r-- | tag-vagrant/vagrant.d/ansible/debian.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tag-vagrant/vagrant.d/ansible/debian.yml b/tag-vagrant/vagrant.d/ansible/debian.yml new file mode 100644 index 00000000..9e06af69 --- /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 |