Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

How to deploy the New Relic Java APM agent with Ansible

Blog post from New Relic

Post Details
Company
Date Published
Author
Rishi Mukhopadhyay
Word Count
1,100
Language
English
Hacker News Points
-
Summary

Enterprise companies using modern distributed architectures often employ automation tools like Ansible to manage deployments efficiently, especially at scale. New Relic has introduced an Ansible role available on Ansible Galaxy, which facilitates the deployment, configuration, and updating of New Relic Java agents on various application servers such as Apache Tomcat, Eclipse Jetty, WildFly, and Spring Boot. Ansible roles help streamline configuration management by grouping related tasks and their dependencies into self-contained units, promoting modularity and reusability. The New Relic Ansible role can be imported via the Ansible Galaxy CLI and supports various configuration paths, allowing users to update agents across host groups and create backups of existing configurations. Additionally, New Relic emphasizes its commitment to open source, with the Ansible role contributing under the Apache 2.0 license, inviting improvements from the community while supporting broader integration and monitoring efforts, such as OpenTelemetry.