diff --git a/tasks/main.yml b/tasks/main.yml index 3758c8a..d5c67fe 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,6 +4,7 @@ when: not rootpath - name: set hostname with systemd + failed_when: false hostname: name: "{{ inventory_hostname_short }}" when: not rootpath