[CORD-2495]
Make sure to get hostvars (setup) from compute node before generating
TOSCA templates
Change-Id: I32b7a3696da43bd9a5afc0be1c62acd0538d1115
diff --git a/deploy-computenode-playbook.yml b/deploy-computenode-playbook.yml
index 217d7a0..157a19f 100644
--- a/deploy-computenode-playbook.yml
+++ b/deploy-computenode-playbook.yml
@@ -1,4 +1,4 @@
-
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,11 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
----
# deploy-computenode-playbook.yml
# deploys compute nodes with Juju, creates config
+- name: Get setup information from compute nodes
+ hosts: compute
+ tasks:
+ - name: run setup on compute nodes
+ setup:
+
- name: Deploy compute nodes, create configuration
hosts: head
roles: