diff --git a/library/system/host b/library/system/host index f8a5f169bf..9c0f603432 100644 --- a/library/system/host +++ b/library/system/host @@ -137,7 +137,7 @@ class Host(object): aliases = '' if self.aliases: aliases = self.aliases.replace(',',' ') - host_entry = self.ip + " " + self.hostname + " " + aliases + "\n" + host_entry = self.ip + " " + self.hostname + " " + aliases + "\n" if self.entry_exists(): self._hostsfile_lines[self._found_on_line] = host_entry else: