Commit 62ca642a by Feanil Patel

Remove the version requirement and fix the apt_key var.

parent cbd01521
datadog_uninstall_agent_version: '1:5.10.1-1'
datadog_uninstall_apt_key: "0x382E94DE" datadog_uninstall_apt_key: "0x382E94DE"
DATADOG_UNINSTALL_UBUNTU_APT_KEYSERVER: "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=" DATADOG_UNINSTALL_UBUNTU_APT_KEYSERVER: "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- name: Remove apt key for datadog - name: Remove apt key for datadog
apt_key: apt_key:
id: "382E94DE" id: "382E94DE"
url: "{{ DATADOG_UNINSTALL_UBUNTU_APT_KEYSERVER }}{{ common_datadog_apt_key }}" url: "{{ DATADOG_UNINSTALL_UBUNTU_APT_KEYSERVER }}{{ datadog_uninstall_apt_key }}"
state: absent state: absent
- name: Uninstall apt repository for datadog - name: Uninstall apt repository for datadog
...@@ -13,5 +13,5 @@ ...@@ -13,5 +13,5 @@
- name: Uninstall datadog agent - name: Uninstall datadog agent
apt: apt:
name: "datadog-agent={{ common_datadog_agent_version }}" name: "datadog-agent"
state: absent 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