Srikanth Vavilapalli | 1dfc9c8 | 2016-12-20 02:58:32 +0000 | [diff] [blame] | 1 | --- |
| 2 | - name: Validate Monitoring service is ready |
| 3 | uri: |
| 4 | url: "{{item}}" |
| 5 | user: "{{ auth.user }}" |
| 6 | password: "{{ auth.pass }}" |
| 7 | status_code: 200 |
| 8 | body_format: json |
| 9 | force_basic_auth: yes |
| 10 | HEADER_Content-Type: "application/json" |
| 11 | register: monitoringservice |
| 12 | until: "monitoringservice.json and 'OK' in monitoringservice.json[0].backend_status" |
| 13 | retries: 5 |
| 14 | delay: 60 |
| 15 | with_items: |
Srikanth Vavilapalli | b66304b | 2017-01-19 20:25:19 +0000 | [diff] [blame] | 16 | - http://localhost:9000/api/service/monitoring/ |
| 17 | - http://localhost:9000/api/tenant/monitoring/monitoringchannel/ |