CORD-871: Migrating monitoring service to new build system-phase2
Change-Id: Ifc244500ee4ad0733fbe64ddaf095b61aba13926
diff --git a/roles/monitoringservice-enable-vsgmonitoring/tasks/main.yml b/roles/monitoringservice-enable-vsgmonitoring/tasks/main.yml
new file mode 100644
index 0000000..6fc1cd4
--- /dev/null
+++ b/roles/monitoringservice-enable-vsgmonitoring/tasks/main.yml
@@ -0,0 +1,8 @@
+---
+# monitoringservice-enable-vsgmonitoring/tasks/main.yml
+
+- name: Run TOSCA to enable vSG monitoring
+ command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/vsgmonitoring.yaml"
+ tags:
+ - skip_ansible_lint # TOSCA loading should be idempotent
+