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

Use a DEB822 repo for Kali #83

Merged
merged 1 commit into from
Jan 14, 2025
Merged
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
22 changes: 16 additions & 6 deletions tasks/setup_Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,20 @@
- curl
- gnupg2
- lsb-release
# Use Debian Bookworm for Kali
- name: Get official Docker repo GPG key (Kali)
ansible.builtin.apt_key:
url: https://download.docker.com/linux/debian/gpg
- name: Install prerequisites so apt can use DEB822 repos (Kali)
ansible.builtin.package:
name:
- python3-debian
- name: Add the official Docker repo (Kali)
ansible.builtin.apt_repository:
repo: deb https://download.docker.com/linux/debian bookworm stable
ansible.builtin.deb822_repository:
components:
- stable
name: docker
signed_by: https://download.docker.com/linux/debian/gpg
suites:
- bookworm
uris:
- https://download.docker.com/linux/debian
- name: Update the package cache
ansible.builtin.apt:
update_cache: true
Loading