summaryrefslogtreecommitdiffstats
path: root/environments/split-stack-consistent-hostname-format.j2.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-28 02:57:20 +0000
committerGerrit Code Review <review@openstack.org>2017-07-28 02:57:20 +0000
commit19e89d8d6e2c39c4b98edfba33613607e28e38ee (patch)
tree4039512f7e4ad6d3003ab1af6f4099e4d75e4c60 /environments/split-stack-consistent-hostname-format.j2.yaml
parent8a8369d8688dab6eb719a640863397bfcb7d9316 (diff)
parent59e31ad1f5528ce5cf1f5fbb022eaf89913efb12 (diff)
Merge "Consistent hostname format env for split-stack"
Diffstat (limited to 'environments/split-stack-consistent-hostname-format.j2.yaml')
-rw-r--r--environments/split-stack-consistent-hostname-format.j2.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/environments/split-stack-consistent-hostname-format.j2.yaml b/environments/split-stack-consistent-hostname-format.j2.yaml
new file mode 100644
index 00000000..8345c108
--- /dev/null
+++ b/environments/split-stack-consistent-hostname-format.j2.yaml
@@ -0,0 +1,5 @@
+parameter_defaults:
+ # Consistent Hostname format
+{% for role in roles %}
+ {{role.name}}HostnameFormat: overcloud-{{role.name.lower()}}-%index%
+{% endfor %}