aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcaoyuan <cao.yuan@99cloud.net>2016-10-26 22:23:35 +0800
committercaoyuan <cao.yuan@99cloud.net>2016-10-26 22:23:35 +0800
commitf6584f634e9f9602e5d7d73657c887cb90a099b4 (patch)
tree8d615f365b37ef0b6b556265028be8e1e0b15786
parent40a1176a36532bf61ca5f09f13821c1472ac6636 (diff)
downloadkolla-f6584f634e9f9602e5d7d73657c887cb90a099b4.tar.gz
kolla-f6584f634e9f9602e5d7d73657c887cb90a099b4.zip
Correct the path of /etc/hosts
TrivialFix Change-Id: Ia4ffc05012102d2f3afacdd92250949ae094d10c
-rw-r--r--ansible/roles/baremetal/tasks/pre-install.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/baremetal/tasks/pre-install.yml b/ansible/roles/baremetal/tasks/pre-install.yml
index 20988ecc0..e98624117 100644
--- a/ansible/roles/baremetal/tasks/pre-install.yml
+++ b/ansible/roles/baremetal/tasks/pre-install.yml
@@ -20,7 +20,7 @@
become: True
when: customize_etc_hosts | bool == True
-- name: Generate etc/hosts
+- name: Generate /etc/hosts
blockinfile:
dest: /etc/hosts
marker: "# {mark} ANSIBLE GENERATED HOSTS"