configure docker network separately

This commit is contained in:
2026-08-06 00:25:12 +02:00
parent c18487ac23
commit c349880bf5
9 changed files with 22 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
---
- name: Create a Docker network for Elasticsearch
docker_network:
name: elk_network
state: present
driver: bridge
ipam_config:
- subnet: "172.19.0.0/16"
gateway: "172.19.0.1"
iprange: "172.19.0.0/24"