Skip to content

Instantly share code, notes, and snippets.

@metmajer
Last active February 17, 2016 20:06
Show Gist options
  • Save metmajer/8d1ed4334d3f95f76302 to your computer and use it in GitHub Desktop.
Save metmajer/8d1ed4334d3f95f76302 to your computer and use it in GitHub Desktop.
Blog: How to Automate Enterprise Application Monitoring with Ansible - Part 2
---
- hosts: dynatrace-server
roles:
- role: Dynatrace.Dynatrace-Server
dynatrace_server_do_pwh_connection: yes
dynatrace_server_pwh_connection_hostname: dynatrace-pwh
dynatrace_server_pwh_connection_port: 5432
dynatrace_server_pwh_connection_dbms: postgresql
dynatrace_server_pwh_connection_database: dynatrace-pwh
dynatrace_server_pwh_connection_username: dynatrace
dynatrace_server_pwh_connection_password: dynatrace
remote_user: deploy
- hosts: dynatrace-collectors
roles:
- role: Dynatrace.Dynatrace-Collector
remote_user: deploy
- hosts: dynatrace-clients
roles:
- role: Dynatrace.Dynatrace-Client
remote_user: deploy
[dynatrace-server]
dynatrace.example.com
[dynatrace-collectors]
www.example.com
[dynatrace-clients]
workstation[0-99]
Dynatrace.Dynatrace-Client
Dynatrace.Dynatrace-Collector
Dynatrace.Dynatrace-Server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment