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

Dynatrace/Dynatrace-AppMon-License-Ansible

Repository files navigation

Dynatrace-License-Ansible

An Ansible role for automated deployments of a Dynatrace AppMon License.

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

Download

The role is available via:

Requirements

Place the Dynatrace AppMon License as dynatrace-license.key in the role's files directory from where it will be picked up during the installation. Alternatively, you can make the Dynatrace AppMon License available at an HTTP, HTTPS or FTP resource and point the installation script to the right location via the dynatrace_license_file_url attribute, see below.

Role Variables

As defined in defaults/main.yml:

Name Default Description
dynatrace_license_linux_dynatrace_install_dir /opt/dynatrace The directory that contains an installation of the Dynatrace AppMon Server.
dynatrace_license_linux_license_owner dynatrace The file owner of the license file after deployment.
dynatrace_license_linux_license_group dynatrace The file group of the license file after deployment.
dynatrace_license_file_name dynatrace-license.key The file name of the Dynatrace AppMon License in the role's files directory.
dynatrace_license_file_url http://localhost/dynatrace/dynatrace-license.key A HTTP, HTTPS or FTP URL to the Dynatrace AppMon License in the form (http|https|ftp)://[user[:pass]]@host.domain[:port]/path.
dynatrace_license_role_name Dynatrace.Dynatrace-License The actual name of this role in an Ansible Playbook's roles directory.

Example Playbook

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

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 license.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages