diff --git a/roles/sugarizer/tasks/install.yml b/roles/sugarizer/tasks/install.yml index b65ca5c67..c60561aad 100644 --- a/roles/sugarizer/tasks/install.yml +++ b/roles/sugarizer/tasks/install.yml @@ -120,12 +120,6 @@ # when: internet_available and git_sug_server_output.changed # OLD WAY 3 # when: internet_available and not is_F18 and not node_modules_exists # OLD WAY 1 -#- name: Create the express framework for Node.js (Fedora 18) -# shell: npm install -# args: -# chdir: "{{ iiab_base }}/sugarizer/server" -# 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" ~61 LINES BELOW: as those two "pathPrefix" lines # MUST be added to /opt/iiab/sugarizer-server/sugarizer.js @@ -221,7 +215,7 @@ # # Use this instead, if tabs are truly nec: # # block: "\tvar pathPrefix = '/sugarizer';\n\tapp.use(pathPrefix, require('path-prefix-proxy')(pathPrefix));" -- name: Add 'sugarizer_installed' variable values to {{ iiab_state_file }} +- name: "Add 'sugarizer_installed: True' to {{ iiab_state_file }}" lineinfile: dest: "{{ iiab_state_file }}" regexp: '^sugarizer_installed'