mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
67c0b11133
commit
772aeb5d28
1 changed files with 17 additions and 14 deletions
|
@ -2,6 +2,8 @@
|
|||
get_url:
|
||||
url: "{{ iiab_download_url }}/{{ sugarizer_version }}.tar.gz"
|
||||
dest: "{{ downloads_dir }}/{{ sugarizer_version }}.tar.gz"
|
||||
timeout: "{{ download_timeout }}"
|
||||
when: internet_available
|
||||
|
||||
- name: Untar to /library/www/html/{{ sugarizer_version }}
|
||||
unarchive:
|
||||
|
@ -40,7 +42,8 @@
|
|||
|
||||
# attempting to reinstall npm is broken on Raspbian 9
|
||||
- name: Check for Sugarizer already installed
|
||||
stat: path={{ sugarizer_location }}/sugarizer/server/node_modules
|
||||
stat:
|
||||
path: "{{ sugarizer_location }}/sugarizer/server/node_modules"
|
||||
register: npm
|
||||
|
||||
- name: Set a flag to abort second attempt to install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue