weareinteractive / ansible-newrelic

Ansible role which installs and configures New Relic Server Monitoring Daemon
MIT License
43 stars 28 forks source link

Make Docker container monitoring work #6

Closed anentropic closed 8 years ago

anentropic commented 8 years ago

per the docs here: https://docs.newrelic.com/docs/servers/new-relic-servers-linux/installation-configuration/enabling-new-relic-servers-docker

need to add the newrelic user to docker group, then it works

solves issue #5

franklinkim commented 8 years ago

Hi, I merged you code but refactored it a bit. Instead of hard coding the user and group, there is now the option newrelic_groups which will append to groups to the newrelic_user. Please note that newrelic_disable_docker is now yes by default, since it doesn't work without the group config anyway.