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

Commit

Permalink
Merge pull request #1 from tuladhar/fix_dns_forced_in_dhclientconf
Browse files Browse the repository at this point in the history
Fix dns_forced_in_dhclientconf for both Debian and Redhat system
  • Loading branch information
jdauphant committed Jan 11, 2015
2 parents e5bb358 + 5a95e9f commit 3d0678c
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 3d0678c

Please sign in to comment.