This repository was archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Dec 13, 2024. It is now read-only.
Add Ansible support #1
Copy link
Copy link
Open
Description
Ansible playbook for Ubuntu.
Using Cast for installing REMnux and SIFT. SIFT CLI is deprecated.
Lint with ansible-lint.
Ansible allow to support easier, other Linux distros in the future.
---
- name: FAST - Ubuntu
hosts: localhost
become: true
connection: local
tasks:
- name: Update APT package index
ansible.builtin.apt:
update_cache: true
- name: Install dependencies
ansible.builtin.apt:
name:
- software-properties-common
- apt-transport-https
- ca-certificates
state: present
- name: Install Autopsy
ansible.builtin.apt:
name: autopsy
state: present
- name: Download CyberChef
ansible.builtin.get_url:
url: "https://gchq.github.io/CyberChef/CyberChef_v10.18.6.zip"
dest: "/tmp/CyberChef_v10.18.6.zip"
mode: '0644'
- name: Create CyberChef directory on Desktop
ansible.builtin.file:
path: "/home/{{ lookup('env', 'SUDO_USER') }}/Desktop/CyberChef"
state: directory
mode: '0755'
- name: Unzip CyberChef to Desktop/CyberChef
ansible.builtin.unarchive:
src: "/tmp/CyberChef_v10.18.6.zip"
dest: "/home/{{ lookup('env', 'SUDO_USER') }}/Desktop/CyberChef"
remote_src: true
- name: Remove CyberChef zip file
ansible.builtin.file:
path: "/tmp/CyberChef_v10.18.6.zip"
state: absent
- name: Install Free Hex Editor (GHex)
ansible.builtin.apt:
name: ghex
state: present
- name: Install Wireshark
ansible.builtin.apt:
name: wireshark
state: present
- name: Download cast
ansible.builtin.get_url:
url: "https://github.com/ekristen/cast/releases/download/v0.14.30/cast-v0.14.30-linux-amd64.deb"
dest: "/tmp/cast-v0.14.30-linux-amd64.deb"
mode: '0644'
- name: Install cast
ansible.builtin.apt:
deb: "/tmp/cast-v0.14.30-linux-amd64.deb"
state: present
- name: Set permissions for cast
ansible.builtin.file:
path: /usr/bin/cast
mode: '0755'
become: trueInstall with :
sudo ansible-playbook Ubuntu.ymlOlindal3o2
Metadata
Metadata
Assignees
Labels
No labels