docker/application: Configure dns and log-driver of daemon
parent
e9651f3b09
commit
f825787dd6
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
docker_configuration:
|
||||||
|
dns: "{{ ansible_dns.nameservers | ipv4 }}" # use only ipv4 dns servers TODO: check if docker supports ipv6
|
||||||
|
log-driver: journald # send container logs also to journald
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: restart docker
|
||||||
|
systemd:
|
||||||
|
name: "{{ global_docker_service_name }}"
|
||||||
|
state: restarted
|
Loading…
Reference in New Issue