From b23b571f798a4b2b551a3ec3a3608cb4bf618a48 Mon Sep 17 00:00:00 2001 From: friedrich goerz Date: Fri, 17 Jun 2022 16:20:36 +0200 Subject: [PATCH] DEV-492: fix /etc/hosts-issue for DO-VMs --- roles/common/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 4d9d840..6147273 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -23,6 +23,8 @@ {% for host in shared_service_hosts %} {{ host.ip }} {{ host.name }} {% endfor %} + when: + - inventory_hostname in groups['hcloud'] tags: - update_etc_hosts