Commit e3d1b94c by syed-awais-ali

remove datadog agents

parent 52e0f17f
......@@ -200,3 +200,25 @@
- "install"
- "install:configuration"
- "logrotate"
- name: Remove apt key for datadog
apt_key:
id: "382E94DE"
url: "{{ COMMON_UBUNTU_APT_KEYSERVER }}{{ common_datadog_apt_key }}"
state: absent
tags:
- COMMON_DISABLE_DATADOG
- name: Uninstall apt repository for datadog
apt_repository:
repo: 'deb http://apt.datadoghq.com/ stable main'
state: absent
tags:
- COMMON_DISABLE_DATADOG
- name: Uninstall datadog agent
apt:
name: "datadog-agent={{ common_datadog_agent_version }}"
state: absent
tags:
- COMMON_DISABLE_DATADOG
......@@ -225,3 +225,7 @@ COMMON_JWT_SECRET_KEY: 'SET-ME-PLEASE'
CREATE_SERVICE_WORKER_USERS: True
COMMON_ENABLE_AWS_ROLE: true
COMMON_DISABLE_DATADOG: false
common_datadog_agent_version: '1:5.10.1-1'
common_datadog_apt_key: "0x382E94DE"
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