Browse Source

add nodnsupdate hook for RedHat

pull/41/head
Smaine Kahlouch 8 years ago
parent
commit
1d1d8b9c28
1 changed files with 5 additions and 0 deletions
  1. 5
      roles/dnsmasq/tasks/main.yml

5
roles/dnsmasq/tasks/main.yml

@ -61,5 +61,10 @@
- name: disable resolv.conf modification by dhclient
copy: src=dhclient_nodnsupdate dest=/etc/dhcp/dhclient-enter-hooks.d/nodnsupdate mode=u+x backup=yes
when: ansible_os_family == "Debian"
- name: disable resolv.conf modification by dhclient
copy: src=dhclient_nodnsupdate dest=/etc/dhcp/dhclient.d/nodnsupdate mode=u+x backup=yes
when: ansible_os_family == "RedHat"
- meta: flush_handlers
Loading…
Cancel
Save