blob: f40221e494174bbe06d44521df261b396ebac53b [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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 auxiliary packages
yum: name={{item}} state=present update_cache=yes
with_items:
- "@Development tools"
- git
- wget
- which
# dependencies for make couch, except erlang
- name: install packages required to build CouchDB
yum: name={{item}} state=present
with_items:
- autoconf
- automake
- curl-devel
- libicu-devel
- libtool
# special case since autoconf-archive on CentOS 6 is not in EPEL
- name: install autoconf-archive
yum:
name: "{{ autoconf_archive_package_name }}"
- name: download nodejs 6.x repo setup script
command: "wget https://rpm.nodesource.com/setup_6.x"
args:
chdir: /tmp
- name: setup nodejs 6.x repo
command: /bin/bash /tmp/setup_6.x
- name: install nodejs and npm
yum:
name: nodejs
state: present
# download, compile and install Spidermonkey
- include: spidermonkey.yml
# download and install shunit2
- include: shunit.yml
# required for make docs
- name: install packages required to build CouchDB
yum: name={{item}} state=present
with_items:
- help2man
- python-pip
- name: install up to date version of sphinx via pip
shell: pip install sphinx==1.5.3
- name: clean up yum cache
command: yum clean all