Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame^] | 1 | --- |
| 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 |