aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_yajl
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_yajl
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_yajl')
-rw-r--r--ansible/roles/install_yajl/tasks/main.yml32
-rw-r--r--ansible/roles/install_yajl/vars/main.yml38
2 files changed, 0 insertions, 70 deletions
diff --git a/ansible/roles/install_yajl/tasks/main.yml b/ansible/roles/install_yajl/tasks/main.yml
deleted file mode 100644
index 20fd958c8..000000000
--- a/ansible/roles/install_yajl/tasks/main.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright (c) 2017 Intel Corporation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
----
-
-- name: Install extra build dependencies
- action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
- with_items: "{{ yajl_build_dependencies[ansible_os_family] }}"
-
-- name: configure
- command: ./configure
- args:
- chdir: "{{ yajl_path }}"
-
-- name: "make yajl"
- make:
- chdir: "{{ yajl_path }}"
-
-- name: "make install yajl"
- make:
- chdir: "{{ yajl_path }}"
- target: install
diff --git a/ansible/roles/install_yajl/vars/main.yml b/ansible/roles/install_yajl/vars/main.yml
deleted file mode 100644
index 1b192e87b..000000000
--- a/ansible/roles/install_yajl/vars/main.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright (c) 2017 Intel Corporation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
----
-yajl_build_dependencies:
- Debian:
- - flex
- - bison
- - build-essential
- - pkg-config
- - automake
- - autotools-dev
- - libltdl-dev
- - librabbitmq-dev
- - rabbitmq-server
- - cmake
- - libvirt-dev
- RedHat:
- - flex
- - bison
- - pkgconfig
- - automake
- - cmake
- - rabbitmq-server
- - librabbitmq-devel
- - libtool-ltdl-devel
- - libvirt-devel
-