summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2019-10-02 13:53:26 +0200
committerTomáš Levora <t.levora@partner.samsung.com>2019-10-02 13:55:48 +0200
commit69dec7b868b88f840dfbe5f59b77b973e5f352a0 (patch)
treedbcfd35eaf3d481cf634b938d45e061141763317
parent0a5a34ffe4b6506663a61372998f43657bf81230 (diff)
Fixing invalid hostname filled by ci-installer
ci-installer filled hostname containing underscore what is invalid Issue-ID: OOM-2119 Change-Id: I26dfa7115ba9e700715e0fae441c21a26fde3382 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
-rw-r--r--tools/cicdansible/roles/install/templates/inventory.yml.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/cicdansible/roles/install/templates/inventory.yml.j2 b/tools/cicdansible/roles/install/templates/inventory.yml.j2
index c828ca00..faec5903 100644
--- a/tools/cicdansible/roles/install/templates/inventory.yml.j2
+++ b/tools/cicdansible/roles/install/templates/inventory.yml.j2
@@ -13,7 +13,7 @@ all:
ansible_host: {{ resource_host }}
infrastructure:
hosts:
- infra_host:
+ infra:
ansible_host: infra
cluster_ip: {{ hostvars['infra'].ansible_default_ipv4.address }}
external_ip: "{{ hostvars['infra'].ansible_host }}"
@@ -31,10 +31,10 @@ all:
{% endfor %}
kubernetes-control-plane:
hosts:
- infra_host
+ infra
kubernetes-etcd:
hosts:
- infra_host
+ infra
nfs-server:
hosts:
node0