feat: add variable to set major version

This commit is contained in:
Adrien Waksberg 2023-07-05 11:40:57 +02:00
parent 1fbea9082c
commit aaeea21e54
4 changed files with 4 additions and 1 deletions

View file

@ -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