-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{} placed at end of /etc/datadog-agent/datadog.yaml #93
Comments
I believe this is unintended behavior causes when no extra config values are being set. If I do something like set a tag via variables, everything works as expected. This works:
This doesn't work.
Looking at main.yml you see the following variable set.
This behavior will need to be modified at some level to work properly when config is not set. The best manner of handling this may be to simply unset the datadog_config default variable. Please comment. |
I'm also encountering this issue with the version 2.0.1. It worked fined prior to 2.0 & with the agent v5. |
Out of this topic, just wanna mention there's a typo in README
|
Updated to the new version of the role and monitoring blew up because of this bug... not very nice :( Thanks for the workaround @sonjz |
Any word on when this will release? Ran into the issue yesterday :( |
@rtizzy Thanks for reporting the issue and sorry for the late delay. I'll get on it right away. |
The fix is available in |
Using the latest version of the Ansible galaxy role from the Galaxy repo, I have the following issue.
Replication:
Set the API variable
Enabled dd agent 6 (Believe this same error may happen regardless of agent 6)
Run the role.
Result:
The service will fail to start and a {} is placed at the end of the datadog.yaml file.
Removing the {} causes the service to start properly.
The text was updated successfully, but these errors were encountered: