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
6
ansible/roles/common/tasks/install-bashrc.yml
Normal file
6
ansible/roles/common/tasks/install-bashrc.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: Configure bashrc lines
|
||||
lineinfile:
|
||||
path: "/home/{{ ziionos_user }}/.bashrc"
|
||||
line: "{{ bash_line }}"
|
||||
state: "{{ bash_line_state |default('present') }}"
|
||||
backup: yes
|
9
ansible/roles/common/tasks/install-pip.yml
Normal file
9
ansible/roles/common/tasks/install-pip.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
- name: Install pip3
|
||||
become_user: root
|
||||
become: true
|
||||
apt:
|
||||
state: present
|
||||
update_cache: yes
|
||||
cache_valid_time: 604800
|
||||
pkg:
|
||||
- python3-pip
|
|
@ -1,3 +1,12 @@
|
|||
---
|
||||
- import_tasks: install-node.yml
|
||||
tags:
|
||||
- install-node
|
||||
|
||||
- import_tasks: install-pip.yml
|
||||
tags:
|
||||
- install-pip
|
||||
|
||||
- import_tasks: install-bashrc.yml
|
||||
tags:
|
||||
- install-bashrc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue