[CICDANSIBLE] Add availability_zone Heat stack parameter
[oom/offline-installer.git] / tools / cicdansible / heat / node.yaml
index cd628ee..9562228 100644 (file)
@@ -22,13 +22,20 @@ parameters:
     type: string
   scheduler_hints:
     type: json
+  demo_network:
+    type: string
+    default: ""
+  docker_storage_size:
+    type: number
+  availability_zone:
+    type: string
 resources:
   #Volume for storing /var/lib/docker for node.
   docker_storage:
     type: OS::Cinder::Volume
     properties:
       name: docker_storage
-      size: 120
+      size: { get_param: docker_storage_size }
   #Call generic instance template.
   instance:
     type: instance.yaml
@@ -42,9 +49,11 @@ resources:
       network: { get_param: network }
       subnet: { get_param: subnet }
       flavor_name: { get_param: flavor_name }
+      availability_zone: { get_param: availability_zone }
       notify_command: { get_param: notify_command }
       security_group: { get_param: security_group }
       scheduler_hints: { get_param: scheduler_hints }
+      demo_network: { get_param: demo_network }
   #Attachment of docker volume to node.
   docker_storage_attachment:
     type: OS::Cinder::VolumeAttachment