infra/deprecated/playbooks/alpha/docker-config.yml

16 lines
400 B
YAML
Raw Permalink Normal View History

2022-06-14 06:16:30 +00:00
# Here we basically install a config that limits all containers to having
# a maxium amount of logs on disk. We do this to save on storage space
---
- hosts: alpha
become: yes
tasks:
- name: Copy over daemon.json config
copy:
src: docker/daemon.json
dest: /etc/daemon.json
- name: Restart Docker service
systemd:
name: docker
state: restarted