summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns/handlers/main.yml
blob: ac3209dc97ea178ebe03aeaf3e055ffc4807755b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Restart dnsmasq container
  docker_container:
    name: dnsmasq
    image: andyshinn/dnsmasq:2.76
    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