From c6973f2ee752ff75d4f9327761440c93c505ead2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 2 Feb 2019 15:50:48 -0500 Subject: [PATCH] Update main.yml --- roles/sugarizer/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/sugarizer/tasks/main.yml b/roles/sugarizer/tasks/main.yml index 759ca00fa..8f7357cce 100644 --- a/roles/sugarizer/tasks/main.yml +++ b/roles/sugarizer/tasks/main.yml @@ -135,7 +135,7 @@ # when: internet_available and is_F18 and not node_modules_exists # Add a Node.js Express function that appends a prefix to URLs. -# SEE "AUTO-INSERTED BY IIAB" ~53 LINES BELOW: as those two "pathPrefix" lines +# SEE "AUTO-INSERTED BY IIAB" ~59 LINES BELOW: as those two "pathPrefix" lines # MUST be added to /opt/iiab/sugarizer-server/sugarizer.js - name: For http://box/sugarizer -- run 'npm install --allow-root --unsafe-perm=true path-prefix-proxy' to create /opt/iiab/sugarizer-server/node_modules/path-prefix-proxy command: npm install --allow-root --unsafe-perm=true path-prefix-proxy @@ -194,7 +194,7 @@ line: "port = {{ mongodb_port }}" # 2-LINE FIX FOR sugarizer.js BY @georgejhunt FOR http://box/sugarizer -# SEE ~53 LINES ABOVE, as this is REQUIRED: 'npm install --allow-root --unsafe-perm=true path-prefix-proxy' +# SEE ~59 LINES ABOVE, as this is REQUIRED: 'npm install --allow-root --unsafe-perm=true path-prefix-proxy' # OR YOU GET ERRORS: "status=255" within "systemctl status sugarizer" # "Cannot find module 'path-prefix-proxy'" within "journalctl -eu sugarizer" - name: For http://box/sugarizer -- add pathPrefix lines in /opt/iiab/sugarizer-server/sugarizer.js