---

- name: Set datadog.yaml config
  template: src=datadog.yaml.j2 dest=/etc/datadog-agent/datadog.yaml
  notify: restart datadog-agent

- name: Set metrics config
  copy: src=conf.d/ dest=/etc/datadog-agent/conf.d/
  notify: restart datadog-agent

