From 90ea8410163e54eefeed985a84cd3f95516040df Mon Sep 17 00:00:00 2001 From: Bryan Black Date: Sun, 30 Oct 2022 05:58:16 -0700 Subject: [PATCH] add geth --- ansible/plays/evm-tools.yml | 3 ++- ansible/roles/geth/tasks/main.yml | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 ansible/roles/geth/tasks/main.yml diff --git a/ansible/plays/evm-tools.yml b/ansible/plays/evm-tools.yml index c8cc2bd..757229a 100644 --- a/ansible/plays/evm-tools.yml +++ b/ansible/plays/evm-tools.yml @@ -11,7 +11,6 @@ - common - geerlingguy.docker - truffle - - sol2uml - solc - solc-select - slither @@ -20,3 +19,5 @@ - mythril - ganache - remix + - geth + - sol2uml #BROKEN a little on x86 and completely on ARM https://gitlab.com/shopglue/ziion-tools/-/issues/7 diff --git a/ansible/roles/geth/tasks/main.yml b/ansible/roles/geth/tasks/main.yml new file mode 100644 index 0000000..0037496 --- /dev/null +++ b/ansible/roles/geth/tasks/main.yml @@ -0,0 +1,14 @@ +--- +- name: add apt ppa required for geth + apt_repository: + repo: 'ppa:ethereum/ethereum' + +- name: Install pip3 + become_user: root + become: true + apt: + state: present + update_cache: yes + cache_valid_time: 604800 + pkg: + - ethereum