-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvagrant_hs_sq.yml
44 lines (41 loc) · 1.03 KB
/
vagrant_hs_sq.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
- hosts: all
vars:
default_ruby: jruby-1.7.26
bundler_version: 1.14.6
zeromq_version: 3.2.4
elasticsearch_version: 1.7.3
roles:
- base
- elasticsearch
- highseas
- nginx_proxy
- ruby
- vagrant
tasks:
- name: prereqs for 0mq
become: True
apt:
state: present
pkg:
- automake
- build-essential
- libtool-bin
- name: create a directory for stashing downloads
become: True
file:
path: /opt/src
state: directory
- name: download 0mq
become: True
unarchive:
src: http://download.zeromq.org/zeromq-{{zeromq_version}}.tar.gz
remote_src: yes
dest: /opt/src
creates: /opt/src/zeromq-{{zeromq_version}}
- name: install 0mq
become: True
shell: './autogen.sh && ./configure --prefix=/usr/local --datarootdir=/usr/local/share && make && make install'
args:
chdir: /opt/src/zeromq-{{zeromq_version}}
creates: /usr/local/lib/libzmq.so