Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Dynatrace/Dynatrace-AppMon-Plugin-Ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynatrace-Plugin-Ansible

This Ansible role installs a Dynatrace AppMon Plugin of the Dynatrace AppMon solution.

Download

The role is available via:

Requirements

Download a Dynatrace AppMon Update from community.dynatrace.com and place the artifact in the role's files directory from where it will be picked up during the installation. Alternatively, you can make the Dynatrace AppMon Update available at an HTTP, HTTPS or FTP resource and point the installation script to the right location via the dynatrace_plugin_file_url attribute, see below.

Role Variables

As defined in defaults/main.yml:

Name Default Description
dynatrace_plugin_file_name dynatrace-plugin.dtf The file name of the Dynatrace AppMon Plugin in the role's files directory.
dynatrace_plugin_file_url http://localhost/dynatrace/dynatrace-plugin.dtf A HTTP, HTTPS or FTP URL to the Dynatrace AppMon Plugin in the form (http|https|ftp)://[user[:pass]]@host.domain[:port]/path.
dynatrace_plugin_user_name admin The username of a Dynatrace AppMon user that has the Manage Plugin Bundles permission.
dynatrace_plugin_user_password admin The password of a Dynatrace AppMon user that has the Manage Plugin Bundles permission.
dynatrace_plugin_role_name Dynatrace.Dynatrace-Plugin The actual name of this role in an Ansible Playbook's roles directory.

Example Playbook

- hosts: all
  roles:
    - role: Dynatrace.Dynatrace-Plugin

Testing

We use Test Kitchen to automatically test our automated deployments with Serverspec and RSpec:

  1. Install Test Kitchen and its dependencies from within the project's directory:
gem install bundler
bundle install
  1. Run all tests
kitchen test

By default, we run our tests inside Docker containers as this considerably speeds up testing time (see .kitchen.yml).

Additional Resources

Blogs

Presentations

Problems? Questions? Suggestions?

This offering is Dynatrace Community Supported. Feel free to share any problems, questions and suggestions with your peers on the Dynatrace Community's Application Monitoring & UEM Forum.

License

Licensed under the MIT License. See the LICENSE file for details. analytics

About

An Ansible role for automated deployments of a Dynatrace Plugin.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published