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