cosmos-sdk/networks/remote/ansible/roles/remove-datadog-agent/tasks/main.yml

13 lines
253 B
YAML

---
- name: Stop datadog service
failed_when: false
service: name=datadog-agent state=stopped
- name: Uninstall datadg-agent
yum: name=datadog-agent state=absent
- name: Remove datadog-agent folder
file: path=/etc/datadog-agent state=absent