1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

start work

This commit is contained in:
George Hunt 2018-05-17 21:36:50 +00:00
parent 786b4eed91
commit 09f4fe6021
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
sugarizer_install: True
sugarizer_enabled: False
sugarizer_location: '{{ doc_root }}'
sugarizer_version: 'sugarizer-0.9'
sugarizer_version: 'sugarizer-1.0'
npm_exists: False

View file

@ -54,11 +54,12 @@
stat:
path: "{{ sugarizer_location }}/sugarizer/server/node_modules"
register: npm
ignore_errors: true
- name: Set a flag to abort second attempt to install
set_fact:
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
template: