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
992
Language
English
Hacker News Points
-
Summary

New Relic has released an Ansible role that allows for seamless deployment, configuration, and updating of its Java agent on popular application servers and frameworks like Apache Tomcat, Eclipse Jetty, WildFly, and Spring Boot. The role provides a standardized file-and-directory structure, enabling automation of tasks such as provisioning containers or VMs, deploying monitoring agents alongside the application code, and providing automatic backups of configuration files. To use this role, users need to download and install it through the Ansible Galaxy CLI, create a playbook and inventory file, and execute their playbook using the `ansible-playbook` command. The role is an open source contribution under the Apache 2.0 license and welcomes requests for improvements.