2015-07-07 15:11:21 +02:00
|
|
|
---
|
2018-05-03 16:45:04 +02:00
|
|
|
- name: Debian - hold elasticsearch version with apt
|
2017-05-12 13:31:50 -07:00
|
|
|
become: yes
|
2015-07-07 15:11:21 +02:00
|
|
|
command: apt-mark hold elasticsearch
|
2017-03-13 13:21:46 -07:00
|
|
|
register: hold_elasticsearch_result
|
2017-05-12 13:31:50 -07:00
|
|
|
changed_when: "hold_elasticsearch_result.stdout != 'elasticsearch was already set on hold.'"
|
2018-05-03 16:45:04 +02:00
|
|
|
- name: Debian - hold elasticsearch version with aptitude
|
|
|
|
|
become: yes
|
|
|
|
|
command: aptitude hold elasticsearch
|
|
|
|
|
register: aptitude_hold_elasticsearch_result
|