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:
commit
d92f5e3ba5
2 changed files with 9 additions and 5 deletions
|
@ -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 }}"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue