Duncan Walker 80e8bedcf0 Expose apt repo configuration
Currently one can not override the apt repository used for ELK stack
package installation due to variable precedence as the repo info is
defined in vars rather than defaults. To be able to do so is
particularly useful in the case that on wishes to specify alternative
mirrors to use. This commit optionally exposes the remote apt
configuration in the elastic_repoitory role defaults so that the user
can modify it in order to redirect to a mirror. The default
configuration is unchanged.

Change-Id: I6459bd8b1b55253a869b018d187c7ec29957a3c1
2020-02-25 15:44:58 +00:00

27 lines
1.1 KiB
YAML

---
# Copyright 2018, Rackspace US, Inc.
#
# 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.
# List of PPA repositories used on ubuntu based systems
elastic_repo_ppas: []
# List of packages to install
elastic_repo_distro_packages: []
# Elasticsearch apt repo to use for package install. Uncomment to change, e.g. for mirror usage
# elastic_apt_repo:
# repo: 'deb https://artifacts.elastic.co/packages/7.x/apt stable main'
# state: "{{ ((elk_package_state | default('present')) == 'absent') | ternary('absent', 'present') }}"
# key_url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"