mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Clean sugarizer/tasks/install.yml
This commit is contained in:
parent
237bbdb781
commit
fc9110d6d6
1 changed files with 1 additions and 7 deletions
|
@ -120,12 +120,6 @@
|
||||||
# when: internet_available and git_sug_server_output.changed # OLD WAY 3
|
# 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
|
# 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.
|
# 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
|
# SEE "AUTO-INSERTED BY IIAB" ~61 LINES BELOW: as those two "pathPrefix" lines
|
||||||
# MUST be added to /opt/iiab/sugarizer-server/sugarizer.js
|
# MUST be added to /opt/iiab/sugarizer-server/sugarizer.js
|
||||||
|
@ -221,7 +215,7 @@
|
||||||
# # Use this instead, if tabs are truly nec:
|
# # Use this instead, if tabs are truly nec:
|
||||||
# # block: "\tvar pathPrefix = '/sugarizer';\n\tapp.use(pathPrefix, require('path-prefix-proxy')(pathPrefix));"
|
# # 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:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^sugarizer_installed'
|
regexp: '^sugarizer_installed'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue