Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
ec4d2064
Commit
ec4d2064
authored
Jun 16, 2017
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update neo4j to 3.2.2
parent
87d58fb8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
10 deletions
+38
-10
CHANGELOG.md
+3
-0
playbooks/roles/neo4j/defaults/main.yml
+9
-5
playbooks/roles/neo4j/tasks/main.yml
+26
-5
No files found.
CHANGELOG.md
View file @
ec4d2064
-
Role: neo4j
-
Updated neo4j to 3.2.2
-
Role: forum
-
Added
`FORUM_REBUILD_INDEX`
to rebuild the ElasticSearch index from the database, when enabled. Default:
`False`
.
...
...
playbooks/roles/neo4j/defaults/main.yml
View file @
ec4d2064
...
...
@@ -20,16 +20,20 @@ NEO4J_SERVER_NAME: "localhost"
neo4j_gpg_key_url
:
https://debian.neo4j.org/neotechnology.gpg.key
neo4j_apt_repository
:
"
deb
http://debian.neo4j.org/repo
stable/"
neo4j_version
:
"
3.0.3"
neo4j_defaults_file
:
"
/etc/default/neo4j"
neo4j_version
:
"
3.2.2"
neo4j_server_config_file
:
"
/etc/neo4j/neo4j.conf"
neo4j_wrapper_config_file
:
"
/etc/neo4j/neo4j-wrapper.conf"
neo4j_https_port
:
7473
# default in package is 7473
neo4j_http_port
:
7474
# default in package is 7474
neo4j_listen_address
:
"
0.0.0.0"
neo4j_heap_max_size
:
"
3000"
neo4j_heap_max_size
:
"
3000
m
"
neo4j_log_dir
:
"
/var/log/neo4j"
# Properties file settings
neo4j_https_settings_key
:
"
dbms.connector.https.address"
neo4j_http_settings_key
:
"
dbms.connector.http.address"
neo4j_https_settings_key
:
"
dbms.connector.https.listen_address"
neo4j_http_settings_key
:
"
dbms.connector.http.listen_address"
# Deprecated files to delete
deprecated_neo4j_wrapper_config_file
:
"
/etc/neo4j/neo4j-wrapper.conf"
deprecated_neo4j_https_settings_key
:
"
dbms.connector.https.address"
deprecated_neo4j_http_settings_key
:
"
dbms.connector.http.address"
playbooks/roles/neo4j/tasks/main.yml
View file @
ec4d2064
...
...
@@ -37,6 +37,14 @@
-
install
-
install:system-requirements
-
name
:
remove deprecated config file
file
:
state
:
absent
path
:
"
{{
deprecated_neo4j_wrapper_config_file
}}"
tags
:
-
install
-
install:base
-
name
:
install neo4j
apt
:
name
:
"
neo4j={{neo4j_version}}"
...
...
@@ -47,15 +55,25 @@
-
name
:
set neo4j heap size
lineinfile
:
dest
:
"
{{
neo4j_
wrapp
er_config_file
}}"
dest
:
"
{{
neo4j_
serv
er_config_file
}}"
regexp
:
"
dbms.memory.heap.max_size="
line
:
"
dbms.memory.heap.max_size={{
neo4j_heap_max_size
}}"
tags
:
-
install
-
install:configuration
-
name
:
allow format migration (when updating neo4j versions)
lineinfile
:
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
dbms.allow_format_migration="
line
:
"
dbms.allow_format_migration=true"
tags
:
-
install
-
install:configuration
-
name
:
set to listen on specific port for https
lineinfile
:
create
:
yes
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
{{
neo4j_https_settings_key
}}="
line
:
"
{{
neo4j_https_settings_key
}}={{
neo4j_listen_address
}}:{{
neo4j_https_port
}}"
...
...
@@ -65,6 +83,7 @@
-
name
:
set to listen on specific port for http
lineinfile
:
create
:
yes
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
{{
neo4j_http_settings_key
}}="
line
:
"
{{
neo4j_http_settings_key
}}={{
neo4j_listen_address
}}:{{
neo4j_http_port
}}"
...
...
@@ -72,12 +91,14 @@
-
install
-
install:configuration
-
name
:
set log dir for neo4j
-
name
:
remove deprecated listen address lines
lineinfile
:
create
:
yes
state
:
absent
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
dbms.directories.logs="
line
:
"
dbms.directories.logs={{
neo4j_log_dir
}}"
regexp
:
"
{{
item
}}"
with_items
:
-
"
{{
deprecated_neo4j_https_settings_key
}}"
-
"
{{
deprecated_neo4j_http_settings_key
}}"
tags
:
-
install
-
install:configuration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment