From 7d23bd3712ba704b6f35a2629c937e850f65b8fd Mon Sep 17 00:00:00 2001
From: shaofeng_cheng <chengsf@winhong.com>
Date: Thu, 25 May 2017 10:43:28 +0800
Subject: [PATCH] Fix etc/hosts format with baremetal role

While is not an issue, just an style format,
etc/hosts generated by baremetal role have
some tabs where it shouldn't.

Change-Id: I90d82ea78b3dac7e8ec3f8cc546b67cc61c41536
Closes-Bug: #1692913
---
 ansible/roles/baremetal/tasks/pre-install.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/baremetal/tasks/pre-install.yml b/ansible/roles/baremetal/tasks/pre-install.yml
index d1faf6e386..bfa277487b 100644
--- a/ansible/roles/baremetal/tasks/pre-install.yml
+++ b/ansible/roles/baremetal/tasks/pre-install.yml
@@ -23,7 +23,7 @@
     block: |
         {% for host in groups['all'] %}
         {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }} {{ hostvars[host]['ansible_hostname'] }}
-          {% endfor %}
+        {% endfor %}
   become: True
   when: customize_etc_hosts | bool
 
-- 
GitLab