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.