Automatic agent installation - Ansible

Server Density works well with Ansible and there are official scripts/playbooks you can use.

Recommended integration

We recommend our official Ansible playbook which will automatically install the Server Density agent and configure it. 

There is a detailed writeup and tutorial on our blog for how to make the most of this module.

Basic Usage

Update the following files to include the correct information:

roles/serverdensity/vars/main.yml

# Required variables; please update.
# API token documentation is available here: https://apidocs.serverdensity.com/#authentication

#Uncomment and update the variables below
sd_account: "example"        #####previously sd_url: "https://example.serverdensity.io"#####
api_token: "Your_API_Token" 

 inventories/hosts

#See Ansible documentation for more information: http://docs.ansible.com/intro_inventory.html#hosts-and-groups
[development]
hostname 

Other integrations

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.