summaryrefslogtreecommitdiff
path: root/roles/package-mgmt/tasks/main.yml
blob: 8f10d7f70356d749eaa5e2053dcb4001582414d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
# tasks file for package-mgmt
- name: Add Docker repo key
  ansible.builtin.shell: curl -fsSL {{ docker_repo_key }} | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/docker-ce-keyring.gpg

- name: Add Docker repo
  ansible.builtin.apt_repository:
    repo: "{{ docker_repo }}"
    state: present

- name: Add Sublime Text repo key
  ansible.builtin.shell: curl -fsSL {{ sublime_repo_key }} | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/sublime-text-keyring.gpg

- name: Add Sublime Text repo
  ansible.builtin.apt_repository:
    repo: "{{ sublime_repo }}"
    state: present

- name: Ensuring all packages are up to date
  ansible.builtin.apt:
    update_cache: yes
    upgrade: dist

- name: Installing one-off packages from package manager
  ansible.builtin.package:
    name:
    - bloodhound
    - build-essential
    - bytecode-viewer
    - clang
    - cmake
    - crackmapexec
    - curl
    - default-jdk
    - default-jre
    - docker-ce
    - docker-compose
    - eog
    - feroxbuster
    - flex
    - forensics-extra
    - gawk
    - gdb
    - gdbserver
    - ghidra
    - git
    - gobuster
    - golang-go
    - jq
    - jxplorer
    - libffi-dev
    - liblzma-dev
    - libssl-dev
    - libxml2-dev
    - ltrace
    - ncat
    - neo4j
    - ntpdate
    - mingw-w64
    - patch
    - powershell
    - python3
    - python3-dev
    - python3-pip
    - p7zip-full
    - remmina
    - rlwrap
    - samba
    - seclists
    - steghide
    - strace
    - sublime-text
    - terminator
    - tmux
    - xclip
    - xfce4-terminal
    - zaproxy
    - zlib1g-dev
    state: latest