summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorTzu-Mainn Chen <tzumainn@redhat.com>2017-06-23 15:47:17 -0400
committerTzu-Mainn Chen <tzumainn@redhat.com>2017-06-23 15:47:17 -0400
commit2fa7c112561eca54e0980902bda6920506c96f92 (patch)
tree951b88f8c0743e16829292b11aca65586fbe0cdc /roles
parent8219f17503e16620b4881faefc78023c696ed2e5 (diff)
downloadopenshift-2fa7c112561eca54e0980902bda6920506c96f92.tar.gz
openshift-2fa7c112561eca54e0980902bda6920506c96f92.tar.bz2
openshift-2fa7c112561eca54e0980902bda6920506c96f92.tar.xz
openshift-2fa7c112561eca54e0980902bda6920506c96f92.zip
rename node_removal_policies, add some comments and defaults
Diffstat (limited to 'roles')
-rw-r--r--roles/openstack-stack/defaults/main.yml2
-rw-r--r--roles/openstack-stack/templates/heat_stack.yaml.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openstack-stack/defaults/main.yml b/roles/openstack-stack/defaults/main.yml
index 4f859585f..4831d6bc4 100644
--- a/roles/openstack-stack/defaults/main.yml
+++ b/roles/openstack-stack/defaults/main.yml
@@ -9,5 +9,5 @@ num_masters: 1
num_nodes: 1
num_dns: 1
num_infra: 1
-node_removal_policies: []
+nodes_to_remove: []
etcd_volume_size: 2
diff --git a/roles/openstack-stack/templates/heat_stack.yaml.j2 b/roles/openstack-stack/templates/heat_stack.yaml.j2
index 3916eec02..32ea5ec1d 100644
--- a/roles/openstack-stack/templates/heat_stack.yaml.j2
+++ b/roles/openstack-stack/templates/heat_stack.yaml.j2
@@ -621,7 +621,7 @@ resources:
properties:
count: {{ num_nodes }}
removal_policies:
- - resource_list: {{ node_removal_policies }}
+ - resource_list: {{ nodes_to_remove }}
resource_def:
type: server.yaml
properties: