Remove useless trailing '\n' in /etc/hosts file.

In HA deployment mode, we've got some trailing '\n' generated at the beginning
of each controller role nodes line in the undercloud /etc/hosts [1].

[1] - http://paste.openstack.org/show/603721/

Closes-Bug: #1674697

Change-Id: Ic38bc2a5df79dadf72025f207e91a38cc0ab0a92
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2017-03-21 16:08:59 +01:00
parent e0bd63c826
commit c4c94361e8
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ resources:
-
{% for role in roles %}
- list_join:
- "\n"
- ""
- {get_attr: [{{role.name}}, hosts_entry]}
{% endfor %}