Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
f4aadf24
Unverified
Commit
f4aadf24
authored
5 years ago
by
kaliraja
Committed by
GitHub
5 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #693 from MasterAlt/release-2.2.1
Es Plugin Idempotency
parents
4611bbf0
99ff05ce
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/es6/tasks/azure-plugin.yml
+2
-2
ansible/roles/es6/tasks/azure-plugin.yml
with
2 additions
and
2 deletions
+2
-2
ansible/roles/es6/tasks/azure-plugin.yml
+
2
−
2
View file @
f4aadf24
-
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"
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets