add brownie, solcjs, solc-select, bashrc vars, pip3, py3-venv, operating system user var
This commit is contained in:
parent
d48335860d
commit
27743c7276
9 changed files with 67 additions and 1 deletions
9
ansible/roles/brownie/tasks/install-python3venv.yml
Normal file
9
ansible/roles/brownie/tasks/install-python3venv.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
- name: Install python3.10-venv
|
||||
become_user: root
|
||||
become: true
|
||||
apt:
|
||||
state: present
|
||||
update_cache: yes
|
||||
cache_valid_time: 604800
|
||||
pkg:
|
||||
- python3.10-venv
|
16
ansible/roles/brownie/tasks/main.yml
Normal file
16
ansible/roles/brownie/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
- name: Install pipx package for brownie
|
||||
become_user: "{{ ziionos_user }}"
|
||||
ansible.builtin.pip:
|
||||
name: pipx
|
||||
extra_args: --user
|
||||
|
||||
- import_tasks: install-python3venv.yml
|
||||
tags:
|
||||
- install-python3venv
|
||||
|
||||
- name: pipx install eth-brownie
|
||||
become_user: "{{ ziionos_user }}"
|
||||
become: true
|
||||
ansible.builtin.shell: "/home/{{ ziionos_user }}/.local/bin/pipx install eth-brownie==1.18.2"
|
||||
args:
|
||||
executable: /bin/bash
|
Loading…
Add table
Add a link
Reference in a new issue