ansible/roles/docker/vars/docker.yml
2023-09-25 10:40:20 +02:00

59 lines
1.1 KiB
YAML

# 2023-09-25
# Settings: docker
---
#
# installation
#
# directories
vm_daemon_json_root: "/etc/docker"
vm_docker_override_root: "/etc/systemd/system/docker.service.d/"
directories_create:
- "{{ vm_daemon_json_root }}"
- "{{ vm_docker_override_root }}"
# daemon.json
vm_template_daemon_json: daemon_json.j2
vm_template_daemon_json_name: "daemon.json"
# override.conf
vm_template_docker_override: docker_override_json.j2
vm_template_docker_override_name: "override.conf"
# Grafana Loki plugin
docker_loki_image: "grafana/loki-docker-driver"
docker_loki_version: "latest"
docker_loki_alias: "loki"
# Docker packages required
docker_pakages_required:
- curl
- gnupg
- lsb-release
# Packages to remove before Docker
docker_pakages_cleanup:
- docker.io
- docker-doc
- docker-compose
- podman-docker
- containerd
# Packages to install Docker
docker_pakages_needed:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
- cgroupfs-mount
# Docker services
docker_services:
- docker.service
- docker.socket