Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 1 | --- |
| 2 | # monitoringservice-config/tasks/main.yml |
| 3 | |
| 4 | - name: Copy monitoringservice onboarding TOSCA files to cord_profile |
| 5 | copy: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 6 | src: "{{ config_cord_dir }}/orchestration/xos_services/monitoring/xos/monitoring-onboard.yaml" |
| 7 | dest: "{{ head_cord_profile_dir }}/monitoring-onboard.yaml" |
Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 8 | |
| 9 | - name: TOSCA to mount monitoringservice volume in XOS container |
| 10 | template: |
| 11 | src: "xos-monitoringservice.yaml.j2" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 12 | dest: "{{ head_cord_profile_dir }}/xos-monitoringservice.yaml" |
Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 13 | |
| 14 | - name: TOSCA files to instantiate monitoringservice |
| 15 | template: |
| 16 | src: "{{ item }}.j2" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 17 | dest: "{{ head_cord_profile_dir }}/{{ item }}" |
Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 18 | with_items: |
| 19 | - "monitoringservice.yaml" |
| 20 | - "monitoringtenant.yaml" |
| 21 | |