add brownie, solcjs, solc-select, bashrc vars, pip3, py3-venv, operating system user var

This commit is contained in:
Bryan Black 2022-10-28 01:24:14 -07:00
parent d48335860d
commit 27743c7276
9 changed files with 67 additions and 1 deletions

View 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

View 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