playbook to refresh compute nodes, timeouts lengthened, docs
added profile_name file to cord_profile dir
fix syntax error
Change-Id: I94392a7f3018aabee4c4fb0eb781fd152aa3745b
diff --git a/roles/compute-node-enable/tasks/main.yml b/roles/compute-node-enable/tasks/main.yml
index 5f3557c..f746241 100644
--- a/roles/compute-node-enable/tasks/main.yml
+++ b/roles/compute-node-enable/tasks/main.yml
@@ -2,7 +2,10 @@
# compute-node-enable/tasks/main.yml
- name: Load TOSCA to add OpenStack compute nodes
- command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/openstack-compute.yaml"
+ command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/{{ item }}"
+ with_items:
+ - openstack.yaml
+ - openstack-compute.yaml
tags:
- skip_ansible_lint # TOSCA loading should be idempotent
@@ -11,7 +14,10 @@
seconds: 20
- name: Load TOSCA to enable VTN on OpenStack compute nodes
- command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/openstack-compute-vtn.yaml"
+ command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/{{ item }}"
+ with_items:
+ - vtn-service.yaml
+ - openstack-compute-vtn.yaml
tags:
- skip_ansible_lint # TOSCA loading should be idempotent