fix: use multiline yaml string for configuration
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
31596e0cdf
commit
b06e0fa27a
|
@ -1,4 +1,4 @@
|
||||||
---
|
---
|
||||||
dnsmasq_listen_address:
|
dnsmasq_conf: |
|
||||||
- "127.0.0.1"
|
bind-interfaces
|
||||||
- "::1"
|
interface=lo
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Create dnsmasq configuration
|
- name: Create dnsmasq configuration
|
||||||
template:
|
copy:
|
||||||
src: "etc/dnsmasq.d/local.conf.j2"
|
content: "{{ dnsmasq_conf }}"
|
||||||
dest: "/etc/dnsmasq.d/local.conf"
|
dest: "/etc/dnsmasq.d/local.conf"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: __dnsmasq_restart
|
notify: __dnsmasq_restart
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
listen-address={{ dnsmasq_listen_address | join(",") }}
|
|
Loading…
Reference in New Issue