Ansible playbooks to install and configure Appdynamics machine agent and java agent. Current ‘use cases’ for these playbooks are:
- configure machine and java agents while conducting a PoV
- configure agents for a quick PS engagement, when the engineer don’t have time to fully engage the customer’s DevOps teams
- share the playbooks with customers; so that they can extend it to their needs and customize it for their individual requirements
These instructions will help you with setting up Ansible on your local desktop/laptop.
sudo xcode-select --install
sudo xcode-select -p
sudo xcodebuild -license
sudo easy_install pip
sudo -H pip install ansible
ansible --version ansible 2.3.2.0 config file = configured module search path = Default w/o overrides python version = 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
By default, Ansible uses password-less SSH to communicate with remote systems. Authentication is done using server keys. Each host needs to have a server key and ansible master host needs to be in the authenticated server list on each target hosts.
Refer to 'key based authentication' and SSH configuration specifics, before using the ansible toolkit. https://robferguson.org/blog/2014/04/10/installing-ghost-step-2/#keybasedauthentication https://robferguson.org/blog/2014/04/10/installing-ghost-step-2/#createasshconfigfile
AppDynamics Ansible toolkit consists of basic roles to install and configure machine agent and java agent modules. Currently, machine agent is not configured as service. Java agent can be configured to report to a specific controller. And application specific configuration are specified as JVM startup arguments.
###Roles:
configureHost - Setup and update the host with necessary software
install-machineagent - Installs the machine agent files
start-machineagent - Restarts the machine agent
install-javaagent - Installs the java agent files
configure-javaagent - Configures the java agent to report to a specified controller
Please feel free to add yourself as contributor to make changes or additions.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Srikar Achanta - Initial work - sachanta
See also the list of contributors who participated in this project.
- Original contribution from Thiago Margo