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 +