mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Fix 2 idempotence issues
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
---
|
||||
- name: Debian - hold elasticsearch version
|
||||
command: apt-mark hold elasticsearch
|
||||
register: hold_elasticsearch_result
|
||||
changed_when: "hold_elasticsearch_result.stdout != 'elasticsearch was already set on hold.'"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
- command: java -version 2>&1 | grep OpenJDK
|
||||
register: open_jdk
|
||||
changed_when: false
|
||||
|
||||
- name: refresh the java ca-certificates
|
||||
command: /var/lib/dpkg/info/ca-certificates-java.postinst configure
|
||||
|
||||
Reference in New Issue
Block a user