fix zone transfers

fix dns ports
fixate dns server
This commit is contained in:
Pim Kunis 2023-03-20 08:54:04 +01:00
parent 506d39091f
commit e716be6c9c
5 changed files with 19 additions and 6 deletions

View file

@ -10,8 +10,9 @@
copy:
src: "{{ role_path }}/files/dnsmasq.conf"
dest: "/etc/dnsmasq.conf"
register: config
- name: Enable dnsmasq
systemd:
name: dnsmasq
enabled: true
state: started
state: "{{ 'restarted' if config.changed else 'started' }}"