From 4d44b659c41d97e19537becbb67eb751e177f86e Mon Sep 17 00:00:00 2001 From: Alexandre Menasria Date: Fri, 29 Jul 2022 14:16:44 +0200 Subject: [PATCH 1/3] Add troubleshooting instructions about service_facts --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5518357c..60d46888 100644 --- a/README.md +++ b/README.md @@ -621,3 +621,16 @@ For more details, see [Critical Bug in Uninstaller for Datadog Agent 6.14.0 and [13]: https://github.com/DataDog/ansible-datadog/blob/main/tasks/agent-linux.yml [14]: https://github.com/DataDog/ansible-datadog/blob/main/tasks/agent-win.yml [15]: https://www.datadoghq.com/blog/datadog-marketplace/ + +### Ubuntu 20.04 broken by service_facts + +Running the `service_facts` module on Ubuntu 20.04 causes the following error: + +``` +localhost | FAILED! => { + "changed": false, + "msg": "Malformed output discovered from systemd list-unit-files: accounts-daemon.service enabled enabled " +} +``` + +This can be fixed by [updating Ansible to `v2.9.8` or above](https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id61). From c7881935b8dd1dbfe02c4789b9498fd22375af62 Mon Sep 17 00:00:00 2001 From: Alexandre Menasria Date: Fri, 29 Jul 2022 15:27:45 +0200 Subject: [PATCH 2/3] Put text before links --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 60d46888..ea640fe6 100644 --- a/README.md +++ b/README.md @@ -606,6 +606,19 @@ If you are updating from **6.14.0 or 6.14.1 on Windows**, use the following step For more details, see [Critical Bug in Uninstaller for Datadog Agent 6.14.0 and 6.14.1 on Windows][11]. +### Ubuntu 20.04 broken by service_facts + +Running the `service_facts` module on Ubuntu 20.04 causes the following error: + +``` +localhost | FAILED! => { + "changed": false, + "msg": "Malformed output discovered from systemd list-unit-files: accounts-daemon.service enabled enabled " +} +``` + +This can be fixed by [updating Ansible to `v2.9.8` or above](https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id61). + [1]: https://galaxy.ansible.com/Datadog/datadog [2]: https://github.com/DataDog/ansible-datadog [3]: https://docs.datadoghq.com/agent/autodiscovery @@ -621,16 +634,3 @@ For more details, see [Critical Bug in Uninstaller for Datadog Agent 6.14.0 and [13]: https://github.com/DataDog/ansible-datadog/blob/main/tasks/agent-linux.yml [14]: https://github.com/DataDog/ansible-datadog/blob/main/tasks/agent-win.yml [15]: https://www.datadoghq.com/blog/datadog-marketplace/ - -### Ubuntu 20.04 broken by service_facts - -Running the `service_facts` module on Ubuntu 20.04 causes the following error: - -``` -localhost | FAILED! => { - "changed": false, - "msg": "Malformed output discovered from systemd list-unit-files: accounts-daemon.service enabled enabled " -} -``` - -This can be fixed by [updating Ansible to `v2.9.8` or above](https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id61). From 4dd2db0fb53b8ac973732a80986d400e1d4478f3 Mon Sep 17 00:00:00 2001 From: Alexandre Menasria Date: Tue, 2 Aug 2022 10:53:47 +0200 Subject: [PATCH 3/3] Fix links --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea640fe6..f1bc6069 100644 --- a/README.md +++ b/README.md @@ -617,7 +617,7 @@ localhost | FAILED! => { } ``` -This can be fixed by [updating Ansible to `v2.9.8` or above](https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id61). +To fix this, [update Ansible to `v2.9.8` or above][16]. [1]: https://galaxy.ansible.com/Datadog/datadog [2]: https://github.com/DataDog/ansible-datadog @@ -634,3 +634,4 @@ This can be fixed by [updating Ansible to `v2.9.8` or above](https://github.com/ [13]: https://github.com/DataDog/ansible-datadog/blob/main/tasks/agent-linux.yml [14]: https://github.com/DataDog/ansible-datadog/blob/main/tasks/agent-win.yml [15]: https://www.datadoghq.com/blog/datadog-marketplace/ +[16]: https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id61