Tomáš Levora | 290bf40 | 2018-12-19 15:47:04 +0100 | [diff] [blame] | 1 | --- |
2 | - name: Restart dnsmasq container | ||||
3 | docker_container: | ||||
4 | name: dnsmasq | ||||
5 | image: andyshinn/dnsmasq:2.76 | ||||
6 | command: -H /simulated_hosts --log-facility=- | ||||
7 | capabilities: NET_ADMIN | ||||
8 | volumes: | ||||
9 | - "{{ app_data_path }}/cfg/simulated_hosts:/simulated_hosts:ro" | ||||
10 | ports: | ||||
11 | - "53:53/tcp" | ||||
12 | - "53:53/udp" | ||||
13 | state: started | ||||
14 | restart_policy: unless-stopped |