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
c4d41219
Commit
c4d41219
authored
5 years ago
by
kaali09
Browse files
Options
Download
Patches
Plain Diff
DO-2059 updated the syntax error
parent
48299e28
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/log-es6/tasks/elasticsearch-Debian.yml
+12
-0
ansible/roles/log-es6/tasks/elasticsearch-Debian.yml
ansible/roles/log-es6/tasks/elasticsearch-config.yml
+0
-11
ansible/roles/log-es6/tasks/elasticsearch-config.yml
with
12 additions
and
11 deletions
+12
-11
ansible/roles/log-es6/tasks/elasticsearch-Debian.yml
+
12
−
0
View file @
c4d41219
...
...
@@ -29,6 +29,18 @@
include
:
elasticsearch-Debian-version-lock.yml
when
:
es_version_lock
#Copy the elasticsearch mandatory variable
-
name
:
Copy the elasticsearch mandatory variables
become
:
yes
template
:
src
:
environment.j2
dest
:
"
{{
env_dir
}}/elasticsearch"
owner
:
"
{{
es_user
}}"
group
:
"
{{
es_group
}}"
mode
:
0660
force
:
yes
-
name
:
Debian - Ensure elasticsearch is installed
become
:
yes
apt
:
name=elasticsearch{% if es_version is defined and es_version != "" %}={{ es_version }}{% endif %} state=present force={{force_install}} allow_unauthenticated={{ 'no' if es_apt_key else 'yes' }} cache_valid_time=86400
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/log-es6/tasks/elasticsearch-config.yml
+
0
−
11
View file @
c4d41219
...
...
@@ -15,17 +15,6 @@
file
:
path={{ item }} state=directory owner={{ es_user }} group={{ es_group }}
with_items
:
-
"
{{data_dirs}}"
#Copy the elasticsearch mandatory variable
-
name
:
Copy the elasticsearch mandatory variables
become
:
yes
template
:
src
:
environment.j2
dest
:
"
{{
env_dir
}}/elasticsearch"
owner
:
"
{{
e_user
}}"
group
:
"
{{
es_group
}}"
mode
:
0660
force
:
yes
#Copy the config template
-
name
:
Copy Configuration File
...
...
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