Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 1 | --- |
| 2 | # monitoringservice-enable-inframonitoring.yml |
| 3 | # Enables monitoring for infrastructure services (OpenStack and ONOS) |
| 4 | # ansible-playbook -i inventory/rcord --extra-vars @../genconfig/config.yml monitoringservice-enable-inframonitoring.yml |
| 5 | |
| 6 | - name: Include vars |
| 7 | hosts: all |
| 8 | tasks: |
| 9 | - name: Include variables |
| 10 | include_vars: "{{ item }}" |
| 11 | with_items: |
| 12 | - "profile_manifests/{{ cord_profile }}.yml" |
| 13 | - profile_manifests/local_vars.yml |
| 14 | |
| 15 | - include: add-onboard-containers-playbook.yml |
| 16 | |
| 17 | - name: Run role to execute TOSCA file |
| 18 | hosts: xos_ui |
| 19 | connection: docker |
| 20 | roles: |
| 21 | - monitoringservice-enable-inframonitoring |
| 22 | |