docker_apt_arch defaults to empty, which derives amd64 or arm64 from the host architecture; another architecture fails the play, and a set value is always used. Assisted-by: Claude Code
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
---
|
|
docker_update: false
|
|
docker_remove_data: false
|
|
docker_remove: false
|
|
|
|
docker_packages:
|
|
- docker-ce
|
|
- docker-ce-cli
|
|
- containerd.io
|
|
|
|
docker_keyring_path: /etc/apt/keyrings/docker.asc
|
|
docker_apt_list_path: /etc/apt/sources.list.d/docker.list
|
|
docker_gpg_url: https://download.docker.com/linux/ubuntu/gpg
|
|
docker_repo_base_url: https://download.docker.com/linux/ubuntu
|
|
|
|
# Architecture written into the APT source. Empty (the default) derives it from the host: x86_64 gives amd64, aarch64 gives arm64, any
|
|
# other architecture fails the play, so set it here (for example armhf) when Docker publishes one for it.
|
|
docker_apt_arch: ""
|
|
|
|
docker_service: docker
|
|
docker_group: docker
|
|
|
|
# Usernames to add to the `docker` group at install time. Left empty by
|
|
# default: a role that needs Docker access but installs *after* this one in
|
|
# a host's `services:` list won't have created its run-as user yet when this
|
|
# role runs, so it must add itself to the group in its own tasks instead.
|
|
# This list only helps a role/user that already exists before `docker` runs.
|
|
docker_users: []
|
|
|
|
# Docker manipulates iptables directly for any published container port
|
|
# (`-p`), bypassing UFW rules entirely - so the role owns no UFW rule and does
|
|
# not call the ufw role.
|