Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
elasticsearch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
elasticsearch
Commits
400922bd
Commit
400922bd
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Quoting some strings
parent
1b76c733
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/index.yml
+3
-3
3 additions, 3 deletions
tasks/index.yml
tasks/install.yml
+1
-1
1 addition, 1 deletion
tasks/install.yml
with
4 additions
and
4 deletions
tasks/index.yml
+
3
−
3
View file @
400922bd
...
...
@@ -3,14 +3,14 @@
-
name
:
Check Index
uri
:
url
:
http://localhost:9200/{{ index }}
url
:
'
http://localhost:9200/{{
index
}}
'
method
:
HEAD
register
:
es_index
failed_when
:
no
-
name
:
Create Index
uri
:
url
:
http://localhost:9200/{{ index }}
url
:
'
http://localhost:9200/{{
index
}}
'
method
:
PUT
status_code
:
200
when
:
es_index.status !=
200
...
...
@@ -18,7 +18,7 @@
-
name
:
Update Mapping
uri
:
url
:
http://localhost:9200/{{ index }}/_mapping/{{ index }}
url
:
'
http://localhost:9200/{{
index
}}/_mapping/{{
index
}}
'
method
:
PUT
body
:
'
{{
lookup("file",
"{{
index
}}.json")
}}'
status_code
:
200
...
...
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
1
−
1
View file @
400922bd
...
...
@@ -8,7 +8,7 @@
-
name
:
Apt Repository
apt_repository
:
repo
:
deb https://artifacts.elastic.co/packages/7.x/apt stable main
repo
:
'
deb
https://artifacts.elastic.co/packages/7.x/apt
stable
main
'
state
:
present
mode
:
0644
notify
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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