Unverified Commit cbd01521 by syed-awais-ali Committed by GitHub

Merge pull request #4451 from edx/aali/OPS-2950_remove_datadog_agent

remove datadog agents
parents 78ef4d16 82f71af7
datadog_uninstall_agent_version: '1:5.10.1-1'
datadog_uninstall_apt_key: "0x382E94DE"
DATADOG_UNINSTALL_UBUNTU_APT_KEYSERVER: "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
---
- name: Remove apt key for datadog
apt_key:
id: "382E94DE"
url: "{{ DATADOG_UNINSTALL_UBUNTU_APT_KEYSERVER }}{{ common_datadog_apt_key }}"
state: absent
- name: Uninstall apt repository for datadog
apt_repository:
repo: 'deb http://apt.datadoghq.com/ stable main'
state: absent
- name: Uninstall datadog agent
apt:
name: "datadog-agent={{ common_datadog_agent_version }}"
state: absent
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment