From 84b75018c7c1091d2341fd6d958ea864a66a7748 Mon Sep 17 00:00:00 2001 From: nd Date: Wed, 15 Nov 2017 01:12:54 +0100 Subject: [PATCH] no longer depends on the host beeing a vm --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 31c06c7..bbfd839 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -17,4 +17,5 @@ template: src: hosts.j2 dest: "{{ rootpath }}/etc/hosts" + when: vm is defined