aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/docker/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-14 20:23:50 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-14 20:58:44 +0200
commit46256a0fb96e095c6012f2bf3dd06c28d1577e64 (patch)
treea70085eb2af0f17686201a754f827b7ccb960e5a /roles/docker/tasks/main.yml
parentdocker: use community.docker.docker_prune (diff)
downloadinfra-ansible-46256a0fb96e095c6012f2bf3dd06c28d1577e64.tar.gz
infra-ansible-46256a0fb96e095c6012f2bf3dd06c28d1577e64.zip
docker: configure logging driver
Diffstat (limited to 'roles/docker/tasks/main.yml')
-rw-r--r--roles/docker/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index ae8f668..c8361a0 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -17,3 +17,7 @@
networks: true
volumes: true
builder_cache: true
+
+- name: Configure Docker logging driver
+ when: docker_logging_driver is defined and docker_logging_driver
+ ansible.builtin.include_tasks: logging.yml