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
48299e28
Commit
48299e28
authored
5 years ago
by
kaali09
Browse files
Options
Download
Patches
Plain Diff
DO-2059 updated the syntaz error
parent
b6ac9121
master
login-changes
loginRegisterBtn
prasath-release-5.1.0
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
upstream/release-5.1.0-vdn
temp-ratelimit_RC1
release-dock-0.0.3_RC2
release-dock-0.0.3_RC1
release-5.2.0-inquiry_RC1
release-5.1.0_RC3
release-5.1.0_RC2
release-5.1.0_RC1
release-5.0.2
release-5.0.2_RC1
release-5.0.1
release-5.0.1_RC1
release-5.0.0
release-5.0.0_RC5
release-5.0.0_RC4
release-5.0.0_RC3
release-5.0.0_RC2
release-5.0.0_RC1
release-5.0.0-vdn_RC1
release-4.10.2_RC1
release-4.10.1
release-4.10.1_RC2
release-4.10.1_RC1
release-4.10.0
release-4.10.0_RC1
release-4.10.0-vdn_RC1
release-4.9.0
release-4.9.0_RC4
release-4.9.0_RC3
release-4.9.0_RC2
release-4.9.0_RC1
release-4.9.0-vdn_RC2
release-4.9.0-vdn_RC1
release-4.8.0
release-4.8.0_RC8
release-4.8.0_RC7
release-4.8.0_RC6
release-4.8.0_RC5
release-4.8.0_RC4
release-4.8.0_RC3
release-4.8.0_RC2
release-4.8.0_RC1
release-4.8.0-vdn_RC1
release-4.7.0
release-4.7.0_RC3
release-4.7.0_RC2
release-4.7.0_RC1
release-4.7.0-vdn_RC1
release-4.6.0
release-4.6.0_RC4
release-4.6.0_RC3
release-4.6.0_RC2
release-4.6.0_RC1
release-4.5.0
release-4.5.0_RC6
release-4.5.0_RC5
release-4.5.0_RC4
release-4.5.0_RC3
release-4.5.0_RC2
release-4.5.0_RC1
release-4.4.1_RC2
release-4.4.1_RC1
release-4.4.1-vdn_RC2
release-4.4.1-vdn_RC1
release-4.4.0
release-4.4.0_RC10
release-4.4.0_RC9
release-4.4.0_RC8
release-4.4.0_RC7
release-4.4.0_RC6
release-4.4.0_RC5
release-4.4.0_RC4
release-4.4.0_RC3
release-4.4.0_RC2
release-4.4.0_RC1
release-4.3.0
release-4.3.0_RC7
release-4.3.0_RC6
release-4.3.0_RC5
release-4.3.0_RC4
release-4.3.0_RC3
release-4.3.0_RC2
release-4.3.0_RC1
release-4.2.0
release-4.2.0_RC6
release-4.2.0_RC5
release-4.2.0_RC4
release-4.2.0_RC3
release-4.2.0_RC2
release-4.2.0_RC1
release-4.1.0
release-4.1.0_RC20
release-4.1.0_RC19
release-4.1.0_RC18
release-4.1.0_RC17
release-4.1.0_RC16
release-4.1.0_RC15
release-4.1.0_RC14
release-4.1.0_RC13
release-4.1.0_RC12
release-4.1.0_RC11
release-4.1.0_RC10
release-4.1.0_RC9
release-4.1.0_RC8
release-4.1.0_RC7
release-4.1.0_RC6
release-4.1.0_RC5
release-4.1.0_RC4
release-4.1.0_RC3
release-4.1.0_RC2
release-4.1.0_RC1
release-4.0.0
release-4.0.0_RC6
release-4.0.0_RC5
release-4.0.0_RC4
release-4.0.0_RC3
release-4.0.0_RC2
release-4.0.0_RC1
release-3.9.0
release-3.9.0_RC18
release-3.9.0_RC17
release-3.9.0_RC16
release-3.9.0_RC15
release-3.9.0_RC14
release-3.9.0_RC13
release-3.9.0_RC12
release-3.9.0_RC11
release-3.9.0_RC10
release-3.9.0_RC9
release-3.9.0_RC8
release-3.9.0_RC7
release-3.9.0_RC6
release-3.9.0_RC5
release-3.9.0_RC4
release-3.9.0_RC3
release-3.9.0_RC2
release-3.9.0_RC1
release-3.8.0
release-3.8.0_RC14
release-3.8.0_RC13
release-3.8.0_RC12
release-3.8.0_RC11
release-3.8.0_RC10
release-3.8.0_RC9
release-3.8.0_RC8
release-3.8.0_RC7
release-3.8.0_RC6
release-3.8.0_RC5
release-3.8.0_RC4
release-3.8.0_RC3
release-3.8.0_RC2
release-3.8.0_RC1
release-3.7.0_RC16
release-3.7.0_RC15
release-3.7.0_RC14
release-3.7.0_RC13
release-3.7.0_RC12
release-3.7.0_RC11
release-3.7.0_RC10
release-3.7.0_RC9
release-3.7.0_RC8
release-3.7.0_RC7
release-3.7.0_RC6
release-3.7.0_RC5
release-3.7.0_RC4
release-3.7.0_RC3
release-3.7.0_RC2
release-3.7.0_RC1
release-3.6.5_RC1
release-3.6.0_RC8
release-3.6.0_RC7
release-3.6.0_RC6
release-3.6.0_RC5
release-3.6.0_RC4
release-3.6.0_RC3
release-3.6.0_RC2
release-3.6.0_RC1
release-3.5.0
release-3.5.0_RC8
release-3.5.0_RC7
release-3.5.0_RC6
release-3.5.0_RC5
release-3.5.0_RC4
release-3.5.0_RC3
release-3.5.0_RC2
release-3.5.0_RC1
release-3.4.0
release-3.4.0_RC21
release-3.4.0_RC20
release-3.4.0_RC19
release-3.4.0_RC18
release-3.4.0_RC17
release-3.4.0_RC16
release-3.4.0_RC15
release-3.4.0_RC14
release-3.4.0_RC13
release-3.4.0_RC12
release-3.4.0_RC11
release-3.4.0_RC10
release-3.4.0_RC9
release-3.4.0_RC8
release-3.4.0_RC7
release-3.4.0_RC6
release-3.4.0_RC5
release-3.4.0_RC4
release-3.4.0_RC3
release-3.4.0_RC2
release-3.4.0_RC1
release-3.3.0_RC24
release-3.3.0_RC23
release-3.3.0_RC22
release-3.3.0_RC21
release-3.3.0_RC20
release-3.3.0_RC19
release-3.3.0_RC18
release-3.3.0_RC17
release-3.3.0_RC16
release-3.3.0_RC15
release-3.3.0_RC14
release-3.3.0_RC13
release-3.3.0_RC12
release-3.3.0_RC11
release-3.3.0_RC10
release-3.3.0_RC9
release-3.3.0_RC8
release-3.3.0_RC7
release-3.3.0_RC6
release-3.3.0_RC5
release-3.3.0_RC4
release-3.3.0_RC3
release-3.3.0_RC2
release-3.3.0_RC1
release-3.2.7
release-3.2.7_RC14
release-3.2.7_RC13
release-3.2.7_RC12
release-3.2.7_RC11
release-3.2.7_RC10
release-3.2.7_RC9
release-3.2.7_RC8
release-3.2.7_RC7
release-3.2.7_RC6
release-3.2.7_RC5
release-3.2.7_RC4
release-3.2.7_RC3
release-3.2.7_RC2
release-3.2.7_RC1
release-3.2.0_RC21
release-3.2.0_RC20
release-3.2.0_RC19
release-3.2.0_RC18
release-3.2.0_RC17
release-3.2.0_RC16
release-3.2.0_RC15
release-3.2.0_RC14
release-3.2.0_RC13
release-3.2.0_RC12
release-3.2.0_RC11
release-3.2.0_RC10
release-3.2.0_RC9
release-3.2.0_RC8
release-3.2.0_RC7
release-3.2.0_RC6
release-3.2.0_RC5
release-3.2.0_RC4
release-3.2.0_RC3
release-3.2.0_RC2
release-3.2.0_RC1
release-3.1.0
release-3.1.0_RC10
release-3.1.0_RC9
release-3.1.0_RC8
release-3.1.0_RC7
release-3.1.0_RC6
release-3.1.0_RC5
release-3.1.0_RC4
release-3.1.0_RC3
release-3.1.0_RC2
release-3.1.0_RC1
release-3.0.1_RC7
release-3.0.1_RC6
release-3.0.1_RC5
release-3.0.1_RC4
release-3.0.1_RC3
release-3.0.1_RC2
release-3.0.1_RC1
release-3.0.0
release-3.0.0_RC42
release-3.0.0_RC41
release-3.0.0_RC40
release-3.0.0_RC39
release-3.0.0_RC38
release-3.0.0_RC37
release-3.0.0_RC36
release-3.0.0_RC35
release-3.0.0_RC34
release-3.0.0_RC33
release-3.0.0_RC32
release-3.0.0_RC31
release-3.0.0_RC30
release-3.0.0_RC29
release-3.0.0_RC28
release-3.0.0_RC27
release-3.0.0_RC26
release-3.0.0_RC25
release-3.0.0_RC24
release-3.0.0_RC23
release-3.0.0_RC22
release-3.0.0_RC21
release-3.0.0_RC20
release-3.0.0_RC19
release-3.0.0_RC18
release-3.0.0_RC17
release-3.0.0_RC16
release-3.0.0_RC15
release-3.0.0_RC14
release-3.0.0_RC13
release-3.0.0_RC12
release-3.0.0_RC11
release-3.0.0_RC10
release-3.0.0_RC9
release-3.0.0_RC8
release-3.0.0_RC7
release-3.0.0_RC6
release-3.0.0_RC5
release-3.0.0_RC4
release-3.0.0_RC3
release-3.0.0_RC2
release-3.0.0_RC1
release-2.10.0
release-2.10.0_RC24
release-2.10.0_RC23
release-2.10.0_RC22
release-2.10.0_RC21
release-2.10.0_RC20
release-2.10.0_RC19
release-2.10.0_RC18
release-2.10.0_RC17
release-2.10.0_RC16
release-2.10.0_RC15
release-2.10.0_RC14
release-2.10.0_RC13
release-2.10.0_RC12
release-2.10.0_RC11
release-2.10.0_RC10
release-2.10.0_RC9
release-2.10.0_RC8
release-2.10.0_RC7
release-2.10.0_RC6
release-2.10.0_RC5
release-2.10.0_RC4
release-2.10.0_RC3
release-2.10.0_RC2
release-2.10.0_RC1
release-2.9.0_RC13
release-2.9.0_RC12
release-2.9.0_RC11
release-2.9.0_RC10
release-2.9.0_RC9
release-2.9.0_RC8
release-2.9.0_RC7
release-2.9.0_RC6
release-2.9.0_RC5
release-2.9.0_RC4
release-2.9.0_RC3
release-2.9.0_RC2
release-2.9.0_RC1
release-2.8.0
release-2.8.0_RC34
release-2.8.0_RC33
release-2.8.0_RC32
release-2.8.0_RC31
release-2.8.0_RC30
release-2.8.0_RC29
release-2.8.0_RC28
release-2.8.0_RC27
release-2.8.0_RC26
release-2.8.0_RC25
release-2.8.0_RC24
release-2.8.0_RC23
release-2.8.0_RC22
release-2.8.0_RC21
release-2.8.0_RC20
release-2.8.0_RC19
release-2.8.0_RC18
release-2.8.0_RC17
release-2.8.0_RC16
release-2.8.0_RC15
release-2.8.0_RC14
release-2.8.0_RC13
release-2.8.0_RC12
release-2.8.0_RC11
release-2.8.0_RC10
release-2.8.0_RC9
release-2.8.0_RC8
release-2.8.0_RC7
release-2.8.0_RC6
release-2.8.0_RC5
release-2.8.0_RC4
release-2.8.0_RC3
release-2.8.0_RC2
release-2.8.0_RC1
release-2.8.0-desktopapis-hotfix
release-2.7.0
release-2.7.0_RC16
release-2.7.0_RC15
release-2.7.0_RC14
release-2.7.0_RC13
release-2.7.0_RC12
release-2.7.0_RC11
release-2.7.0_RC10
release-2.7.0_RC9
release-2.6.5_RC3
release-2.6.5_RC2
release-2.6.5_RC1
release-2.6.5_Kong10_RC2
loadtest-release-2.10.0_nginx_prometheus
keycloak7_RC1
dock-0.0.3_RC7
dock-0.0.3_RC6
dock-0.0.3_RC5
dock-0.0.3_RC4
dock-0.0.3_RC3
dock-0.0.3_RC2
dock-0.0.3_RC1
dock-0.0.3-before-delete
dock-0.0.2_RC13
dock-0.0.2_RC12
dock-0.0.2_RC11
dock-0.0.2_RC10
dock-0.0.2_RC9
dock-0.0.2_RC7
dock-0.0.2_RC6
dock-0.0.2_RC5
dock-0.0.2_RC4
dock-0.0.2_RC3
dock-0.0.2_RC2
dock-0.0.2_RC1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ansible/roles/log-es6/defaults/main.yml
+1
-1
ansible/roles/log-es6/defaults/main.yml
ansible/roles/log-es6/tasks/elasticsearch-config.yml
+2
-2
ansible/roles/log-es6/tasks/elasticsearch-config.yml
ansible/roles/log-es6/tasks/elasticsearch-parameters.yml
+1
-1
ansible/roles/log-es6/tasks/elasticsearch-parameters.yml
ansible/roles/log-es6/templates/jvm.options.j2
+3
-3
ansible/roles/log-es6/templates/jvm.options.j2
with
7 additions
and
7 deletions
+7
-7
ansible/roles/log-es6/defaults/main.yml
+
1
−
1
View file @
48299e28
...
...
@@ -33,7 +33,7 @@ es_api_host: "localhost"
es_api_port
:
9200
es_debian_startup_timeout
:
10
env_dir
:
/etc/default
log
-
es_heap_size
:
"
2g"
log
_
es_heap_size
:
"
2g"
# Since ansible 2.2 the following variables need to be defined
# to allow the role to be conditionally played with a when condition.
pid_dir
:
'
'
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/log-es6/tasks/elasticsearch-config.yml
+
2
−
2
View file @
48299e28
...
...
@@ -71,8 +71,8 @@
-
name
:
Get information on the RAM
set_fact
:
log
-
es_heap_size
:
"
{%
if
((ansible_memory_mb.real.total/(2*1024))|int)
>
26
%}26g{%
else
%}{{(((ansible_memory_mb.real.total/(2*1024))+1)|int)}}g{%
endif
%}"
when
:
log
-
es_heap_size is not defined
log
_
es_heap_size
:
"
{%
if
((ansible_memory_mb.real.total/(2*1024))|int)
>
26
%}26g{%
else
%}{{(((ansible_memory_mb.real.total/(2*1024))+1)|int)}}g{%
endif
%}"
when
:
log
_
es_heap_size is not defined
-
name
:
Copy jvm.options File for Instance
become
:
yes
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/log-es6/tasks/elasticsearch-parameters.yml
+
1
−
1
View file @
48299e28
...
...
@@ -23,7 +23,7 @@
#If the user attempts to lock memory they must specify a heap size
-
name
:
fail when heap size is not specified when using memory lock
fail
:
msg="If locking memory with bootstrap.memory_lock a heap size must be specified"
when
:
es_config['bootstrap.memory_lock'] is defined and es_config['bootstrap.memory_lock'] == True and log
-
es_heap_size is not defined
when
:
es_config['bootstrap.memory_lock'] is defined and es_config['bootstrap.memory_lock'] == True and log
_
es_heap_size is not defined
#Check if working with security we have an es_api_basic_auth_username and es_api_basic_auth_username - otherwise any http calls wont work
-
name
:
fail when api credentials are not declared when using security
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/log-es6/templates/jvm.options.j2
+
3
−
3
View file @
48299e28
...
...
@@ -18,9 +18,9 @@
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space
{% if log
-
es_heap_size is defined %}
-Xms{{ log
-
es_heap_size }}
-Xmx{{ log
-
es_heap_size }}
{% if log
_
es_heap_size is defined %}
-Xms{{ log
_
es_heap_size }}
-Xmx{{ log
_
es_heap_size }}
{% else %}
-Xms2g
-Xmx2g
...
...
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