Skip to content

Conversation

@amenasria
Copy link
Contributor

We received support cases related to Ansible < v.2.9.8 breaking Ubuntu 20.04 when running the service_facts module. This PR adds a troubleshooting note about this specific issue.

There were plans about adding it to the README but it was still missing so here it is !

@amenasria amenasria requested review from a team as code owners July 29, 2022 12:21
README.md Outdated
Comment on lines 624 to 636

### 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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could you put this before the links?

Copy link
Contributor Author

@amenasria amenasria Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right ! Done in c788193.

Copy link

@kayayarai kayayarai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions and 👍

README.md Outdated
}
```

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).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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].

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and then add at the bottom of the page:
[16]: https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id61

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right ! Done in 4dd2db0

@amenasria amenasria merged commit 0fea9df into main Aug 2, 2022
@amenasria amenasria deleted the amenasria/add-troubleshooting-note-service-facts branch August 2, 2022 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants