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"
|
owner: "root"
|
||||||
|
|
||||||
- name: Run yarn install to get needed modules (CAN TAKE ~15 MINUTES)
|
- 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'
|
#become: yes # Escalate to root, similar to 'sudo'
|
||||||
args:
|
args:
|
||||||
chdir: "{{ internetarchive_dir }}"
|
chdir: "{{ internetarchive_dir }}"
|
||||||
|
@ -74,9 +74,9 @@
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
state: stopped
|
state: stopped
|
||||||
|
|
||||||
- name: 'Update pre-existing install: sudo yarn upgrade'
|
- name: 'Update pre-existing install: yarn upgrade'
|
||||||
command: sudo yarn upgrade
|
command: yarn upgrade
|
||||||
#command: yarn upgrade
|
#command: sudo yarn upgrade
|
||||||
#become: yes # Escalate to root, similar to 'sudo'
|
#become: yes # Escalate to root, similar to 'sudo'
|
||||||
args:
|
args:
|
||||||
chdir: "{{ internetarchive_dir }}"
|
chdir: "{{ internetarchive_dir }}"
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
line: 'deb http://dl.yarnpkg.com/debian/ stable main'
|
line: 'deb http://dl.yarnpkg.com/debian/ stable main'
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: "Yarn | Update APT cache"
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
- name: "Yarn | Install"
|
- name: "Yarn | Install"
|
||||||
package:
|
package:
|
||||||
name: yarn
|
name: yarn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue