feat: add variable to set major version
This commit is contained in:
parent
1fbea9082c
commit
aaeea21e54
4 changed files with 4 additions and 1 deletions
tasks
|
@ -13,7 +13,7 @@
|
|||
|
||||
- name: Add repository
|
||||
ansible.builtin.apt_repository:
|
||||
repo: deb https://artifacts.elastic.co/packages/7.x/apt stable main
|
||||
repo: "deb https://artifacts.elastic.co/packages/{{ elasticsearch_major_version }}.x/apt stable main"
|
||||
tags: elasticsearch
|
||||
|
||||
- name: Install package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue