Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 1 | --- |
| 2 | # monitoringservice_test_exampleservicemetrics.yml |
| 3 | # Tests the monitoringservice after enabling monitoring for exampleservice |
| 4 | |
| 5 | - name: Include vars |
| 6 | hosts: all |
| 7 | tasks: |
| 8 | - name: Include variables |
| 9 | include_vars: "{{ item }}" |
| 10 | with_items: |
| 11 | - "profile_manifests/{{ cord_profile }}.yml" |
| 12 | - profile_manifests/local_vars.yml |
| 13 | |
| 14 | - name: Invoke common+test-exampleservicemonitoring roles |
| 15 | hosts: head |
| 16 | roles: |
| 17 | - {role: "/opt/cord/orchestration/xos_services/monitoring/xos/test/roles/common", auth: {user: "{{ xos_admin_user }}", pass: "{{ xos_admin_pass }}"} } |
| 18 | - {role: "/opt/cord/orchestration/xos_services/monitoring/xos/test/roles/test-exampleservicemonitoring", auth: {user: "{{ xos_admin_user }}", pass: "{{ xos_admin_pass }}"} } |