Commit f650e389 by Kevin Falcone

Apply changes from the previous task.

Without this, resolv.conf won't be updated in our environment until the
lease expires and dhclient reruns.  The -n should prevent it from
*actually* changing interfaces, and instead just updates the conf files.
parent e0015288
......@@ -46,6 +46,10 @@
dest: /etc/dhcp/dhclient.conf
when: COMMON_CUSTOM_DHCLIENT_CONFIG
- name: Rerun dhclient to apply template
shell: dhclient -n
when: COMMON_CUSTOM_DHCLIENT_CONFIG
- name: Copy the MOTD template in place
template:
src: etc/motd.tail.j2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment