10 lines
No EOL
400 B
YAML
10 lines
No EOL
400 B
YAML
---
|
|
- name: Debian - hold elasticsearch version with apt
|
|
become: yes
|
|
command: apt-mark hold elasticsearch
|
|
register: hold_elasticsearch_result
|
|
changed_when: "hold_elasticsearch_result.stdout != 'elasticsearch was already set on hold.'"
|
|
- name: Debian - hold elasticsearch version with aptitude
|
|
become: yes
|
|
command: aptitude hold elasticsearch
|
|
register: aptitude_hold_elasticsearch_result |