blob: 4b925a9ec014e4f4ac64498ce16920241fbaa1e4 [file] [log] [blame]
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +00001---
2# monitoringservice-config/tasks/main.yml
3
4- name: Copy monitoringservice onboarding TOSCA files to cord_profile
5 copy:
Zack Williamsc989f262017-05-11 13:02:59 -07006 src: "{{ config_cord_dir }}/orchestration/xos_services/monitoring/xos/monitoring-onboard.yaml"
7 dest: "{{ head_cord_profile_dir }}/monitoring-onboard.yaml"
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +00008
9- name: TOSCA to mount monitoringservice volume in XOS container
10 template:
11 src: "xos-monitoringservice.yaml.j2"
Zack Williamsc989f262017-05-11 13:02:59 -070012 dest: "{{ head_cord_profile_dir }}/xos-monitoringservice.yaml"
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +000013
14- name: TOSCA files to instantiate monitoringservice
15 template:
16 src: "{{ item }}.j2"
Zack Williamsc989f262017-05-11 13:02:59 -070017 dest: "{{ head_cord_profile_dir }}/{{ item }}"
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +000018 with_items:
19 - "monitoringservice.yaml"
20 - "monitoringtenant.yaml"
21