|
|
@ -175,6 +175,14 @@ |
|
|
|
when: dns_mode != 'none' and resolvconf_mode == 'host_resolvconf' |
|
|
|
tags: [bootstrap-os, resolvconf] |
|
|
|
|
|
|
|
- include: dhclient-hooks.yml |
|
|
|
when: dns_mode != 'none' and resolvconf_mode == 'host_resolvconf' and not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] |
|
|
|
tags: [bootstrap-os, resolvconf] |
|
|
|
|
|
|
|
- include: dhclient-hooks-undo.yml |
|
|
|
when: dns_mode != 'none' and resolvconf_mode != 'host_resolvconf' and not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] |
|
|
|
tags: [bootstrap-os, resolvconf] |
|
|
|
|
|
|
|
- name: Check if we are running inside a Azure VM |
|
|
|
stat: path=/var/lib/waagent/ |
|
|
|
register: azure_check |
|
|
|