Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Fix dns_forced_in_dhclientconf for both Debian and Redhat system
Browse files Browse the repository at this point in the history
  • Loading branch information
tuladhar committed Jan 11, 2015
1 parent e5bb358 commit 5a95e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dns_searchs:
dns_dhclient_rule: "supersede" # can be supersede or prepend

dns_dhclient_file: "/etc/dhcp/dhclient.conf"
dns_forced_in_dhclientconf: "{{ansible_distribution == 'Ubuntu'}}"
dns_forced_in_dhclientconf: "{{ansible_os_family == 'Debian' or ansible_os_family == 'Redhat'}}"

0 comments on commit 5a95e9f

Please sign in to comment.