Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ datadog_group: root
# default apt repo
datadog_apt_repo: "deb http://apt.datadoghq.com/ stable main"

# default yum repo and keys
datadog_yum_repo: "https://yum.datadoghq.com/rpm/{{ ansible_userspace_architecture }}/"
datadog_yum_gpgkey: "https://yum.datadoghq.com/DATADOG_RPM_KEY.public"
datadog_yum_gpgkey_new: "http://yum.datadoghq.com/DATADOG_RPM_KEY_E09422B3.public"

# Pin agent to a version. Highly recommended.
datadog_agent_version: ""

Expand Down
2 changes: 1 addition & 1 deletion tasks/pkg-redhat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Download new RPM key
get_url:
url: "http://yum.datadoghq.com/DATADOG_RPM_KEY_E09422B3.public"
url: "{{ datadog_yum_gpgkey_new }}"
dest: /tmp/DATADOG_RPM_KEY_E09422B3.public
sha256sum: 694a2ffecff85326cc08e5f1a619937999a5913171e42f166e13ec802c812085

Expand Down
6 changes: 3 additions & 3 deletions templates/datadog.repo.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[datadog]
name = Datadog, Inc.
baseurl = https://yum.datadoghq.com/rpm/{{ ansible_userspace_architecture }}/
name=Datadog, Inc.
baseurl={{ datadog_yum_repo }}
enabled=1
gpgcheck=1
gpgkey=https://yum.datadoghq.com/DATADOG_RPM_KEY.public
gpgkey={{ datadog_yum_gpgkey }}