make listen address overridable

parent d70ce7ad
...@@ -24,6 +24,7 @@ neo4j_version: "3.0.3" ...@@ -24,6 +24,7 @@ neo4j_version: "3.0.3"
neo4j_server_config_file: "/etc/neo4j/neo4j.conf" neo4j_server_config_file: "/etc/neo4j/neo4j.conf"
neo4j_https_port: 7473 # default in package is 7473 neo4j_https_port: 7473 # default in package is 7473
neo4j_http_port: 7474 # default in package is 7474 neo4j_http_port: 7474 # default in package is 7474
neo4j_listen_address: "0.0.0.0"
# Properties file settings # Properties file settings
neo4j_https_settings_key: "dbms.connector.https.address" neo4j_https_settings_key: "dbms.connector.https.address"
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
lineinfile: lineinfile:
dest: "{{ neo4j_server_config_file }}" dest: "{{ neo4j_server_config_file }}"
regexp: "{{ neo4j_https_settings_key }}=" regexp: "{{ neo4j_https_settings_key }}="
line: "{{ neo4j_https_settings_key }}=0.0.0.0:{{ neo4j_https_port }}" line: "{{ neo4j_https_settings_key }}={{ neo4j_listen_address }}:{{ neo4j_https_port }}"
tags: tags:
- install - install
- install:configuration - install:configuration
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
lineinfile: lineinfile:
dest: "{{ neo4j_server_config_file }}" dest: "{{ neo4j_server_config_file }}"
regexp: "{{ neo4j_http_settings_key }}=" regexp: "{{ neo4j_http_settings_key }}="
line: "{{ neo4j_http_settings_key }}=0.0.0.0:{{ neo4j_http_port }}" line: "{{ neo4j_http_settings_key }}={{ neo4j_listen_address }}:{{ neo4j_http_port }}"
tags: tags:
- install - install
- install:configuration - install:configuration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment