ansible-infra/roles/docker/tasks/main/03_docker_config.yaml
June 64343ae9ec
All checks were successful
/ Ansible Lint (push) Successful in 1m39s
have the docker role conf. the Docker daemon to log to systemd journal
2025-01-14 23:19:38 +01:00

11 lines
322 B
YAML

# Configure the Docker daemon with the following settings:
# - log to systemd journal
# https://docs.docker.com/engine/logging/drivers/journald/
- name: configure Docker daemon
ansible.builtin.copy:
src: daemon.json
dest: /etc/docker/daemon.json
owner: root
group: root
mode: "0644"
become: true