Skip to content

Commit 4498c53

Browse files
author
Dale McDiarmid
authored
Merge pull request elastic#132 from CyVerse-Ansible/debian_version_lock
Debian version lock
2 parents 19fde30 + f4f242c commit 4498c53

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

tasks/elasticsearch-Debian.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
apt_repository: repo="deb http://packages.elastic.co/elasticsearch/{{ es_major_version }}/debian stable main" state=present
1414
when: es_use_repository
1515

16+
- name: Debian - include versionlock
17+
include: elasticsearch-Debian-version-lock.yml
18+
when: es_version_lock
19+
1620
- name: Debian - Ensure elasticsearch is installed
1721
apt: name=elasticsearch{% if es_version is defined and es_version != "" %}={{ es_version }}{% endif %} state=present force={{force_install}} cache_valid_time=86400
1822
when: es_use_repository

tasks/elasticsearch-version-lock.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)