mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
start work
This commit is contained in:
parent
786b4eed91
commit
09f4fe6021
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
sugarizer_install: True
|
sugarizer_install: True
|
||||||
sugarizer_enabled: False
|
sugarizer_enabled: False
|
||||||
sugarizer_location: '{{ doc_root }}'
|
sugarizer_location: '{{ doc_root }}'
|
||||||
sugarizer_version: 'sugarizer-0.9'
|
sugarizer_version: 'sugarizer-1.0'
|
||||||
npm_exists: False
|
npm_exists: False
|
||||||
|
|
|
@ -54,11 +54,12 @@
|
||||||
stat:
|
stat:
|
||||||
path: "{{ sugarizer_location }}/sugarizer/server/node_modules"
|
path: "{{ sugarizer_location }}/sugarizer/server/node_modules"
|
||||||
register: npm
|
register: npm
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Set a flag to abort second attempt to install
|
- name: Set a flag to abort second attempt to install
|
||||||
set_fact:
|
set_fact:
|
||||||
npm_exists: True
|
npm_exists: True
|
||||||
when: npm.stat.exists is defined and npm.stat.exists
|
when: npm.stat is defined and npm.stat.exists
|
||||||
|
|
||||||
- name: Create systemd files and copy our ini file
|
- name: Create systemd files and copy our ini file
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue