From 2dc81fdff560565b4d9bfdf07517a8c1e89d1f96 Mon Sep 17 00:00:00 2001 From: nd Date: Sat, 2 Nov 2019 16:21:02 +0100 Subject: [PATCH] fixed linter warnings --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index eee6311..3758c8a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,12 +1,12 @@ - name: install dbus (needed to set the hostname with systemd) apt: pkg: dbus - when: rootpath == "" + when: not rootpath - name: set hostname with systemd hostname: name: "{{ inventory_hostname_short }}" - when: rootpath == "" + when: not rootpath - name: customize vm image hostname copy: