[CORD-958]
Unify profiles, make 'mock' a parameter
Change-Id: I32681a59df66b68337d5e1ef3b63fbc1077f3fc7
diff --git a/roles/xos-config/tasks/main.yml b/roles/xos-config/tasks/main.yml
index 14b3d45..39ecd35 100644
--- a/roles/xos-config/tasks/main.yml
+++ b/roles/xos-config/tasks/main.yml
@@ -9,6 +9,14 @@
tags:
- skip_ansible_lint # TOSCA loading should be idempotent
+- name: Configure XOS with OpenStack config
+ when: use_openstack
+ command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
+ with_items:
+ - openstack.yaml
+ tags:
+ - skip_ansible_lint # TOSCA loading should be idempotent
+
- name: Configure XOS with profile specific TOSCA
command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
with_items: "{{ xos_tosca_config_templates }}"