add ganache fixes to nodejs and yarn. update requirements.yml, add two install methods for ganache, fixes to remix
This commit is contained in:
parent
8077c51cf7
commit
6bfbc0a68a
8 changed files with 53 additions and 9 deletions
8
ansible/roles/ganache/tasks/install-via-docker.yml
Normal file
8
ansible/roles/ganache/tasks/install-via-docker.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: Create ganache
|
||||
community.docker.docker_container:
|
||||
name: ganache
|
||||
image: trufflesuite/ganache:v7.1.0
|
||||
state: started
|
||||
restart: true
|
||||
ports:
|
||||
- "127.0.0.1:8545:8545" # discuss if this should be bind all gitlab.com/reel/ziion-tools/-/issues/4
|
7
ansible/roles/ganache/tasks/install-via-npm.yml
Normal file
7
ansible/roles/ganache/tasks/install-via-npm.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: Install ganache
|
||||
community.general.npm:
|
||||
name: ganache
|
||||
version: '7.1.0'
|
||||
path: /usr/local/ganache
|
||||
global: true
|
||||
state: present
|
7
ansible/roles/ganache/tasks/main.yml
Normal file
7
ansible/roles/ganache/tasks/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
#- import_tasks: install-via-npm.yml
|
||||
# tags: install-via-npm
|
||||
|
||||
- import_tasks: install-via-docker.yml
|
||||
tags: install-via-docker
|
Loading…
Add table
Add a link
Reference in a new issue