From 520fb18981c41cdd7a5342cf4f0233a2e93a2c61 Mon Sep 17 00:00:00 2001 From: Bryan Black Date: Fri, 28 Oct 2022 04:04:29 -0700 Subject: [PATCH] problematic pip installs, chose docker. added manticore and mythril --- ansible/roles/manticore/tasks/install-via-docker.yml | 6 ++++++ ansible/roles/manticore/tasks/install-via-pip.yml | 4 ++++ ansible/roles/manticore/tasks/main.yml | 6 ++++++ ansible/roles/mythril/tasks/install-via-docker.yml | 6 ++++++ ansible/roles/mythril/tasks/install-via-pip.yml | 4 ++++ ansible/roles/mythril/tasks/main.yml | 9 +++++++++ 6 files changed, 35 insertions(+) create mode 100644 ansible/roles/manticore/tasks/install-via-docker.yml create mode 100644 ansible/roles/manticore/tasks/install-via-pip.yml create mode 100644 ansible/roles/manticore/tasks/main.yml create mode 100644 ansible/roles/mythril/tasks/install-via-docker.yml create mode 100644 ansible/roles/mythril/tasks/install-via-pip.yml create mode 100644 ansible/roles/mythril/tasks/main.yml diff --git a/ansible/roles/manticore/tasks/install-via-docker.yml b/ansible/roles/manticore/tasks/install-via-docker.yml new file mode 100644 index 0000000..d6dac40 --- /dev/null +++ b/ansible/roles/manticore/tasks/install-via-docker.yml @@ -0,0 +1,6 @@ +- name: Create manticore + community.docker.docker_container: + name: manticore + image: trailofbits/manticore:0.3.7 + state: started + restart: true diff --git a/ansible/roles/manticore/tasks/install-via-pip.yml b/ansible/roles/manticore/tasks/install-via-pip.yml new file mode 100644 index 0000000..1769ca1 --- /dev/null +++ b/ansible/roles/manticore/tasks/install-via-pip.yml @@ -0,0 +1,4 @@ +- name: Install manticore python package + ansible.builtin.pip: + name: manticore==0.3.7 + state: present diff --git a/ansible/roles/manticore/tasks/main.yml b/ansible/roles/manticore/tasks/main.yml new file mode 100644 index 0000000..39e31f0 --- /dev/null +++ b/ansible/roles/manticore/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 diff --git a/ansible/roles/mythril/tasks/install-via-docker.yml b/ansible/roles/mythril/tasks/install-via-docker.yml new file mode 100644 index 0000000..07b3bd9 --- /dev/null +++ b/ansible/roles/mythril/tasks/install-via-docker.yml @@ -0,0 +1,6 @@ +- name: Create mythril + community.docker.docker_container: + name: manticore + image: mythril/myth:0.23.1 + state: started + restart: true diff --git a/ansible/roles/mythril/tasks/install-via-pip.yml b/ansible/roles/mythril/tasks/install-via-pip.yml new file mode 100644 index 0000000..e7acdba --- /dev/null +++ b/ansible/roles/mythril/tasks/install-via-pip.yml @@ -0,0 +1,4 @@ +- name: Install mythril python package + ansible.builtin.pip: + name: mythril==0.23.1 + state: present diff --git a/ansible/roles/mythril/tasks/main.yml b/ansible/roles/mythril/tasks/main.yml new file mode 100644 index 0000000..9bb5a57 --- /dev/null +++ b/ansible/roles/mythril/tasks/main.yml @@ -0,0 +1,9 @@ +--- +#- import_tasks: install-via-pip.yml +# tags: install-via-pip +# UNTESTED + + +- import_tasks: install-via-docker.yml + tags: install-via-docker +