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

Check if dhclient.conf exists & Check if dns_domain is truthy #5

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

bensallen
Copy link

  1. Don't edit dhclient.conf if file doesn't already exist, otherwise lineinfile fails without create=yes.
  2. Allow user to unset the default dns_domain: localhost, by setting it to "dns_domain: " by checking if dns_domain is truthy in template.

…s_domain to see if its truthy or falsey, i.e. if somewhere in a playbook we set dns_domain to None
…instead of a conditional based on os_family, cleanup logic of conditional
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant