blob: 0deb39a17dd94f4a33c2d64e2e3b0b6de63eb4e2 [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: import the Erlang Solutions key into apt
apt_key:
url: "{{ erlang_solutions_key_url }}"
state: present
# validate_certs: no
- name: add Erlang Solutions deb repository
apt_repository:
repo: "{{ erlang_solutions_apt_repo_url }}"
state: present
# apt-get update
- name: update apt cache
apt:
update_cache: yes
- name: install Erlang 18.x
apt: name={{item}} state=present install_recommends=no
with_items:
- erlang-dev=1:18.2
- erlang-nox=1:18.2
- erlang=1:18.2
# required for make check and make dialyze
- name: install packages required to build CouchDB
apt: name={{item}} state=present install_recommends=no
with_items:
- erlang-eunit=1:18.2
- erlang-dialyzer=1:18.2