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