Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Fix config permissions #40

Merged
merged 2 commits into from
Jan 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tasks/agent6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
dest: /etc/datadog-agent/datadog.yaml
owner: "{{ datadog_user }}"
group: "{{ datadog_group }}"
mode: 0640
notify: restart datadog-agent

- name: Ensure configuration directories are present for each Datadog check
Expand All @@ -26,6 +27,7 @@
dest: "/etc/datadog-agent/conf.d/{{ item }}.d/conf.yaml"
owner: "{{ datadog_user }}"
group: "{{ datadog_group }}"
mode: 0640
with_items: "{{ datadog_checks|list }}"
notify: restart datadog-agent

Expand Down