mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
63e48ead07
commit
5e123f4ec0
1 changed files with 9 additions and 3 deletions
|
@ -170,9 +170,15 @@
|
||||||
regexp: "^port = 8080$"
|
regexp: "^port = 8080$"
|
||||||
line: "port = {{ sugarizer_port }}"
|
line: "port = {{ sugarizer_port }}"
|
||||||
|
|
||||||
# 2019-02-01: HACK REQUIRED FOR NOW on Ubuntu 18.04 so Sugarizer finds MongoDB
|
# 2019-02-01: HACK REQUIRED FOR NOW ON UBUNTU 18.04 so Sugarizer finds MongoDB
|
||||||
# after 1st reboot! This does NOT affect Raspbian. @jvonau wonders if Ubuntu's
|
# after 1st reboot. Otherwise "Waiting for DB..." appears every second as
|
||||||
# "nameserver 127.0.0.53" in /etc/resolv.conf is to blame? BACKGROUND: PR #1430
|
# shown by "systemctl status sugarizer" and "journalctl -eu sugarizer".
|
||||||
|
# This does NOT affect Raspbian. @jvonau wonders if Ubuntu's
|
||||||
|
# "nameserver 127.0.0.53" in /etc/resolv.conf is to blame? @m-anish wondered
|
||||||
|
# if "bind_ip: 127.0.0.1" in /etc/mongod.conf was to blame as suggested by
|
||||||
|
# https://stackoverflow.com/questions/8904991/mongodb-cant-connect-to-localhost-but-can-connect-to-localhosts-ip-address
|
||||||
|
# But changing to "bind_ip: localhost" does not work with Sugarizer, and
|
||||||
|
# "bind_ip: 127.0.0.1,localhost" is not allowed. BACKGROUND: PR #1430
|
||||||
- name: Set MongoDB "server" from localhost to 127.0.0.1 in /opt/iiab/sugarizer-server/env/sugarizer.ini
|
- name: Set MongoDB "server" from localhost to 127.0.0.1 in /opt/iiab/sugarizer-server/env/sugarizer.ini
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: {{ iiab_base }}/sugarizer-server/env/sugarizer.ini
|
path: {{ iiab_base }}/sugarizer-server/env/sugarizer.ini
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue