-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from cisagov/improvement/use-deb822-repo-for-e…
…verything-but-debian-buster Use DEB822 repo for all Debian platforms except for Buster
- Loading branch information
Showing
6 changed files
with
109 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
- name: Update the apt package cache | ||
ansible.builtin.apt: | ||
update_cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
# The system packages to install. Note that python-docker is not | ||
# available on Amazon Linux 2023: | ||
# The system packages required for Docker. Note that python-docker is | ||
# not available on Amazon Linux 2023: | ||
# https://docs.aws.amazon.com/linux/al2023/release-notes/all-packages-al2023-20230419.html | ||
package_names: | ||
docker_prerequisites: | ||
- docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
# The Linux distribution to use when configuring a Debian repo. Note | ||
# that we force Kali to use Debian Bookworm. This is because Docker | ||
# does not provide an official package for Kali or Debian Testing (on | ||
# which Kali is based), but it does support Bookworm which is close | ||
# enough to work. | ||
apt_distro: debian | ||
|
||
# The release of the Linux distribution to use when configuring a | ||
# Debian repo. Note that we force Kali to use Debian Bookworm. This | ||
# is because Docker does not provide an official package for Kali or | ||
# Debian Testing (on which Kali is based), but it does support | ||
# Bookworm which is close enough to work. | ||
apt_distro_release: bookworm | ||
|
||
# The system packages required for apt-over-https. | ||
apt_over_https_prerequisites: | ||
- apt-transport-https | ||
- ca-certificates | ||
- curl | ||
- gnupg2 | ||
- lsb-release | ||
# This package is not available on Kali, but whatever it installs | ||
# seems to already be present. | ||
# - software-properties-common | ||
|
||
# The system packages required for Docker. | ||
# | ||
# https://docs.docker.com/engine/install/debian/ | ||
docker_prerequisites: | ||
- containerd.io | ||
- docker-buildx-plugin | ||
- docker-ce | ||
- docker-ce-cli | ||
- docker-compose-plugin | ||
# This package is required to avoid an issue with docker compose | ||
# pull. See the following for more information: | ||
# - https://github.com/docker/compose/issues/9560 | ||
# - https://github.com/docker/compose/issues/6023 | ||
# - https://docs.docker.com/engine/reference/commandline/login/ | ||
- pass | ||
- python3-docker |