X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=XTesting%2FXTesting-demo%2Fhealthcheck.robot;fp=XTesting%2FXTesting-demo%2Fhealthcheck.robot;h=7014c0a725cf514f56585b123f64a6d01a20d978;hb=c8bda4f07b7e87beb2aa3d8729f9b0b456d4da6f;hp=0000000000000000000000000000000000000000;hpb=62ecc42ef2c0dc3b98957a9c6628a339c7736ede;p=it%2Ftest.git diff --git a/XTesting/XTesting-demo/healthcheck.robot b/XTesting/XTesting-demo/healthcheck.robot new file mode 100644 index 0000000..7014c0a --- /dev/null +++ b/XTesting/XTesting-demo/healthcheck.robot @@ -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}}"