Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #530 from lde/master
Browse files Browse the repository at this point in the history
Use dpkg_selections to lock elasticsearch version
  • Loading branch information
Crazybus authored Jan 25, 2019
2 parents e4ce1b2 + 2d7bc56 commit 5858a5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/elasticsearch-Debian-version-lock.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Debian - hold elasticsearch version
become: yes
command: "apt-mark hold {{ es_package_name }}"
register: hold_elasticsearch_result
changed_when: "hold_elasticsearch_result.stdout != '{{ es_package_name }} was already set on hold.'"
dpkg_selections:
name: "{{ es_package_name }}"
selection: "hold"

0 comments on commit 5858a5b

Please sign in to comment.