blob: 118753716602160b4809832a79905ff4c4f6b195 [file] [log] [blame]
Srikanth Vavilapalli032facd2017-03-08 06:10:58 +00001---
2# monitoringservice-enable-exampleservicemonitoring.yml
3# Enables monitoring for exampleservice
4# ansible-playbook -i inventory/rcord --extra-vars @../genconfig/config.yml monitoringservice-enable-exampleservicemonitoring.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- name: Create config files for enabling exampleservice monitoring
16 hosts: head
17 roles:
18 - monitoringservice-enable-exampleservicemonitoring-config
19
20- include: add-onboard-containers-playbook.yml
21
22- name: Run role to execute TOSCA file
23 hosts: xos_ui
24 connection: docker
25 roles:
26 - monitoringservice-enable-exampleservicemonitoring
27