Unverified Commit f4aadf24 authored by kaliraja's avatar kaliraja Committed by GitHub
Browse files

Merge pull request #693 from MasterAlt/release-2.2.1

Es Plugin Idempotency
parents 4611bbf0 99ff05ce
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
- name: Check if plugin already installed or not
shell: "curl -s localhost:9200/_cat/plugins | awk '{print $2}'"
shell: "curl -s localhost:9200/_cat/plugins | awk '{print $2}' |head -1"
register: plugin_output
- name: check the output
......@@ -8,4 +8,4 @@
- name: Install plugin
shell: ES_PATH_CONF=/etc/elasticsearch/"{{ es_instance_name }}" /usr/share/elasticsearch/bin/elasticsearch-plugin install repository-azure
when: plugin_output.stdout_lines[0] != "repository-azure"
when: plugin_output.stdout != "repository-azure"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment