blob: 5e593a8f8f1d6d43ec86824463f55cb63de3986b [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 requested Erlang version
apt: name="{{item}}={{ erlang_solutions_pkg_ver }}" state=present install_recommends=no
with_items: "{{ erlang_solutions_pkg_list }}"