blob: 118753716602160b4809832a79905ff4c4f6b195 [file] [log] [blame]
---
# monitoringservice-enable-exampleservicemonitoring.yml
# Enables monitoring for exampleservice
# ansible-playbook -i inventory/rcord --extra-vars @../genconfig/config.yml monitoringservice-enable-exampleservicemonitoring.yml
- name: Include vars
hosts: all
tasks:
- name: Include variables
include_vars: "{{ item }}"
with_items:
- "profile_manifests/{{ cord_profile }}.yml"
- profile_manifests/local_vars.yml
- name: Create config files for enabling exampleservice monitoring
hosts: head
roles:
- monitoringservice-enable-exampleservicemonitoring-config
- include: add-onboard-containers-playbook.yml
- name: Run role to execute TOSCA file
hosts: xos_ui
connection: docker
roles:
- monitoringservice-enable-exampleservicemonitoring