summaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_collectd
diff options
context:
space:
mode:
authorDhaval Patel <dhaval.r.patel@intel.com>2017-10-05 15:05:25 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-10-10 15:51:32 -0700
commit5af56f89a0f40fb644e7bb114779635843fc2ffb (patch)
tree93d9f8da0b4e0f210d65a6975b6b231b4d988e0e /ansible/roles/install_collectd
parent9430923f95c4b69e2a4b7579f7a55933a4cc7449 (diff)
libyajl: install from pkg
libyajl needed for ovs_events and ovs_stats, removed installing from src and rather installing as deb pkg Change-Id: Ic1ebf88304bbc7f4fa7b9b51c95f1e8e729e71e3 Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
Diffstat (limited to 'ansible/roles/install_collectd')
-rw-r--r--ansible/roles/install_collectd/tasks/main.yml2
-rw-r--r--ansible/roles/install_collectd/vars/main.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/ansible/roles/install_collectd/tasks/main.yml b/ansible/roles/install_collectd/tasks/main.yml
index 8368df103..53f49097f 100644
--- a/ansible/roles/install_collectd/tasks/main.yml
+++ b/ansible/roles/install_collectd/tasks/main.yml
@@ -22,7 +22,7 @@
chdir: "{{ collectd_path }}"
- name: build collectd
- shell: "./configure --with-libpqos=/usr/ --with-libdpdk={{ dpdk_shared_path }} --with-libyajl=/usr/local --enable-debug --enable-dpdkstat --enable-virt --enable-ovs_stats --prefix={{ INSTALL_BIN_PATH }}/collectd |& tee collectd-configure.txt"
+ shell: "./configure --with-libpqos=/usr/ --with-libdpdk={{ dpdk_shared_path }} --with-libyajl=/usr/ --enable-debug --enable-dpdkstat --enable-virt --enable-ovs_stats --prefix={{ INSTALL_BIN_PATH }}/collectd |& tee collectd-configure.txt"
args:
executable: /bin/bash
chdir: "{{ collectd_path }}"
diff --git a/ansible/roles/install_collectd/vars/main.yml b/ansible/roles/install_collectd/vars/main.yml
index 0cafc80dd..b1b3dc5db 100644
--- a/ansible/roles/install_collectd/vars/main.yml
+++ b/ansible/roles/install_collectd/vars/main.yml
@@ -25,6 +25,7 @@ collectd_build_dependencies:
- rabbitmq-server
- cmake
- libvirt-dev
+ - libyajl-dev
RedHat:
- flex
- bison
@@ -35,4 +36,5 @@ collectd_build_dependencies:
- librabbitmq-devel
- libtool-ltdl-devel
- libvirt-devel
+ - yajl-devel