Merge "Expose apt repo configuration"
This commit is contained in:
commit
ab104a6a27
@ -18,3 +18,9 @@ elastic_repo_ppas: []
|
|||||||
|
|
||||||
# List of packages to install
|
# List of packages to install
|
||||||
elastic_repo_distro_packages: []
|
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"
|
||||||
|
@ -17,7 +17,9 @@ elastic_repo_distro_packages:
|
|||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
|
|
||||||
# elk apt repo
|
# elk apt repo
|
||||||
elastic_repo:
|
_elastic_repo:
|
||||||
repo: 'deb https://artifacts.elastic.co/packages/7.x/apt stable main'
|
repo: 'deb https://artifacts.elastic.co/packages/7.x/apt stable main'
|
||||||
state: "{{ ((elk_package_state | default('present')) == 'absent') | ternary('absent', 'present') }}"
|
state: "{{ ((elk_package_state | default('present')) == 'absent') | ternary('absent', 'present') }}"
|
||||||
key_url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
key_url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
||||||
|
|
||||||
|
elastic_repo: "{{ elastic_apt_repo | default(_elastic_repo) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user