diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index 08da4bee..8d805a5d 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -46,6 +46,7 @@ lxc_cache_map: - /etc/yum.repos.d/ - /etc/pki/rpm-gpg/ - /etc/resolv.conf + - /etc/systemd/resolved.conf cache_prep_commands: | yum install -y {{ lxc_cache_packages | join(' ') }} rm -f /usr/bin/python diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml index 9388341a..fe5f4ab2 100644 --- a/vars/ubuntu-16.04.yml +++ b/vars/ubuntu-16.04.yml @@ -50,6 +50,7 @@ lxc_cache_map: - /run/resolvconf/ - /etc/resolvconf/ - /etc/resolv.conf + - /etc/systemd/resolved.conf - /root/repo.keys cache_prep_commands: | apt-key add /root/repo.keys