blob: 5bd6d4e156c9140da1e02d1974bc68b87024f40c [file] [log] [blame]
---
- name: Configure telegraf
hosts: "{{ target_hosts }}"
gather_facts: no
tags: ['telegraf']
vars_files:
- ~/.apigee-secure/credentials.yml
- ~/.apigee/custom-properties.yml
roles:
- { role: apigee-opdk-setup-component-install, component: 'apigee-telegraf', tags: ['telegraf'] }
- { role: apigee-opdk-monitoring-telegraf-config, component: 'apigee-telegraf', tags: ['telegraf'] }
- { role: apigee-opdk-setup-component-setup, component: 'apigee-telegraf', config: "{{ telegraf_response_file }}", tags: ['telegraf'] }
- { role: apigee-opdk-stop-components, tags: ['apigee-component'] }
- { role: apigee-opdk-start-components, tags: ['apigee-component'] }
- { role: apigee-opdk-setup-status, tags: ['status'] }