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

Merge pull request #1927 from holta/yarn-desperation

Another Desperate Attempt to fix PR #1921...this time with yarn?
This commit is contained in:
A Holt 2019-08-13 19:04:53 -04:00 committed by GitHub
commit d92f5e3ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -19,8 +19,8 @@
owner: "root"
- name: Run yarn install to get needed modules (CAN TAKE ~15 MINUTES)
command: sudo yarn add @internetarchive/dweb-archive @internetarchive/dweb-mirror
#command: yarn add @internetarchive/dweb-archive @internetarchive/dweb-mirror
command: yarn add @internetarchive/dweb-archive @internetarchive/dweb-mirror
#command: sudo yarn add @internetarchive/dweb-archive @internetarchive/dweb-mirror
#become: yes # Escalate to root, similar to 'sudo'
args:
chdir: "{{ internetarchive_dir }}"
@ -74,9 +74,9 @@
daemon_reload: yes
state: stopped
- name: 'Update pre-existing install: sudo yarn upgrade'
command: sudo yarn upgrade
#command: yarn upgrade
- name: 'Update pre-existing install: yarn upgrade'
command: yarn upgrade
#command: sudo yarn upgrade
#become: yes # Escalate to root, similar to 'sudo'
args:
chdir: "{{ internetarchive_dir }}"

View file

@ -17,6 +17,10 @@
line: 'deb http://dl.yarnpkg.com/debian/ stable main'
state: present
- name: "Yarn | Update APT cache"
apt:
update_cache: yes
- name: "Yarn | Install"
package:
name: yarn