diff --git a/ansible/plays/evm-tools.yml b/ansible/plays/evm-tools.yml index 8443f1f..c8cc2bd 100644 --- a/ansible/plays/evm-tools.yml +++ b/ansible/plays/evm-tools.yml @@ -14,6 +14,7 @@ - sol2uml - solc - solc-select + - slither - brownie - manticore - mythril diff --git a/ansible/roles/eth-security-toolbox/tasks/install-via-docker.yml b/ansible/roles/eth-security-toolbox/tasks/install-via-docker.yml new file mode 100644 index 0000000..b9dd106 --- /dev/null +++ b/ansible/roles/eth-security-toolbox/tasks/install-via-docker.yml @@ -0,0 +1,7 @@ +- name: Create manticore + community.docker.docker_container: + name: eth-security-toolbox + image: trailofbits/eth-security-toolbox + state: started + restart: true + diff --git a/ansible/roles/eth-security-toolbox/tasks/main.yml b/ansible/roles/eth-security-toolbox/tasks/main.yml new file mode 100644 index 0000000..c776226 --- /dev/null +++ b/ansible/roles/eth-security-toolbox/tasks/main.yml @@ -0,0 +1,3 @@ +--- +- import_tasks: install-via-docker.yml + tags: install-via-docker diff --git a/ansible/roles/slither/tasks/install-via-docker.yml b/ansible/roles/slither/tasks/install-via-docker.yml new file mode 100644 index 0000000..8c9c85b --- /dev/null +++ b/ansible/roles/slither/tasks/install-via-docker.yml @@ -0,0 +1,7 @@ +- name: Create slither + community.docker.docker_container: + name: slither + image: trailofbits/eth-security-toolbox + state: started + restart: true +# not going to use it with all the extra baggage diff --git a/ansible/roles/slither/tasks/install-via-pip.yml b/ansible/roles/slither/tasks/install-via-pip.yml new file mode 100644 index 0000000..9b40635 --- /dev/null +++ b/ansible/roles/slither/tasks/install-via-pip.yml @@ -0,0 +1,4 @@ +- name: Install slither python package + ansible.builtin.pip: + name: slither-analyzer==0.8.3 + state: present diff --git a/ansible/roles/slither/tasks/main.yml b/ansible/roles/slither/tasks/main.yml new file mode 100644 index 0000000..ed10e0c --- /dev/null +++ b/ansible/roles/slither/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- import_tasks: install-via-pip.yml + tags: install-via-pip + +#- import_tasks: install-via-docker.yml +# tags: install-via-docker