Merge "create a XTesting directory to first add the required files for a RIC platform...
[it/test.git] / XTesting / XTesting-demo / healthcheck.robot
diff --git a/XTesting/XTesting-demo/healthcheck.robot b/XTesting/XTesting-demo/healthcheck.robot
new file mode 100644 (file)
index 0000000..7014c0a
--- /dev/null
@@ -0,0 +1,12 @@
+---
+- name: Shell module example
+  hosts: 127.0.0.1
+  tasks:
+  
+  - name: Check system information
+    shell:
+      "curl -v http://TARGET-IP:32080/appmgr/ric/v1/health/ready 2>&1"
+    register: os_info
+    
+  - debug:
+      msg: "{{os_info.stdout_lines}}"