blob: d7b0f4b5241a34fad36a9736ecf28dafdb2cc4f1 [file] [log] [blame]
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +00001---
2# monitoringservice-enable-inframonitoring-config.yml
3# Generates the TOSCA files to be used to run the monitoringservice-enable-inframonitoring.yml playbook
4# should be run with /etc/maas/ansible/pod-inventory as inventory file
5# ansible-playbook -i /etc/maas/ansible/pod-inventory --extra-vars=@/opt/cord/build/genconfig/config.yml monitoringservice-enable-inframonitoring-config.yml
6
7- name: Include vars
8 hosts: all
9 tasks:
10 - name: Include variables
11 include_vars: "{{ item }}"
12 with_items:
13 - "profile_manifests/{{ cord_profile }}.yml"
14 - profile_manifests/local_vars.yml
15
16- name: Create config files for enabling infrastructure monitoring
17 hosts: head
18 roles:
19 - monitoringservice-enable-inframonitoring-config