blob: 9e9574741d91734f2025e46f8a42df8a93389993 [file] [log] [blame]
---
- name: Run dns server container
docker_container:
name: dns-server
image: "{{ dns_server_image }}"
command: -H /simulated_hosts --log-facility=-
capabilities: NET_ADMIN
volumes:
- "{{ app_data_path }}/cfg/simulated_hosts:/simulated_hosts:ro"
ports:
- "53:53/tcp"
- "53:53/udp"
state: started
restart_policy: unless-stopped
recreate: true