Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin attacker package versions #105

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions provisioning/ansible/roles/external_mail_handler/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,11 @@
# Additionally, creates a logrotate config file for logs
#

- name: Add Kali Linux archive repository manually
copy:
dest: /etc/apt/sources.list.d/kali-archive.list
content: "deb [trusted=yes] http://old.kali.org/kali 2024.4 main contrib non-free"

- name: Update apt cache ignoring signature verification
shell: apt-get update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true

- name: Install aiosmtpd (requirement) globally
apt:
name: python3-aiosmtpd=1.4.6-3
name: python3-aiosmtpd
state: present
allow_downgrade: yes

- name: Remove Kali Linux archive repository after installing required packages
apt_repository:
repo: "deb http://old.kali.org/kali 2024.4 main contrib non-free"
state: absent

- name: Update apt cache after removing repository
shell: apt-get update
update_cache: yes

- name: "Create script directory {{ script_dir }}"
file:
Expand Down
2 changes: 0 additions & 2 deletions provisioning/ansible/roles/grc/defaults/main.yml

This file was deleted.

2 changes: 1 addition & 1 deletion provisioning/ansible/roles/grc/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

- name: Install grc
apt:
name: grc={{ grc_version }}
name: grc
state: present
update_cache: yes
Loading