Skip to content

Conversation

@widhalmt
Copy link
Member

@widhalmt widhalmt commented Jan 23, 2025

There are two problems that both break tests. I try to solve them in a single PR because one would block merging the other. Both are "new problems" that arose through updates of tools being used. The checks worked in the past.

  • Having become only in tasks where needed might be good coding style but it breaks tests with Rocky Linux and might have other unpredicted side effects. So I'm removing it.
  • Starting rsyslog on Rocky Linux fails with "Timeout". There' no further information so I decided to replace it with reading journald instead of rsyslog. This might have been a move to make in the future anyway.

Havin `become` only in tasks where needed might be good coding style but it breaks tests with Rocky Linux and might have other unpredicted side effects. So I'm removing it.
@widhalmt widhalmt added the bug Something isn't working label Jan 23, 2025
@widhalmt widhalmt self-assigned this Jan 23, 2025
@widhalmt widhalmt changed the title Remove local become Fix current problems with molecule checks Jan 23, 2025
@widhalmt widhalmt enabled auto-merge January 23, 2025 14:56
tbauriedel
tbauriedel previously approved these changes Jan 28, 2025
Copy link
Contributor

@tbauriedel tbauriedel left a comment

Choose a reason for hiding this comment

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

I am not familiar with that part of the collection in detail.
But the changes I can see look okay.

@widhalmt widhalmt added this pull request to the merge queue Jan 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 28, 2025
@tbauriedel tbauriedel dismissed their stale review January 28, 2025 12:57

Actions are failing now.

@tbauriedel
Copy link
Contributor

@afeefghannam89
Have you seen the failing actions here?

@tbauriedel
Copy link
Contributor

I have run the actions again.
Seems like it was just a temporary problem that is now working.

@tbauriedel tbauriedel added this pull request to the merge queue Jan 31, 2025
Merged via the queue into main with commit 51476c7 Jan 31, 2025
10 checks passed
@tbauriedel tbauriedel deleted the fix/local-become branch January 31, 2025 09:52
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this pull request Jun 17, 2025
There are two problems that both break tests. I try to solve them in a
single PR because one would block merging the other. Both are "new
problems" that arose through updates of tools being used. The checks
worked in the past.

* Having `become` only in tasks where needed might be good coding style
but it breaks tests with Rocky Linux and might have other unpredicted
side effects. So I'm removing it.
* Starting `rsyslog` on Rocky Linux fails with "Timeout". There' no
further information so I decided to replace it with reading journald
instead of rsyslog. This might have been a move to make in the future
anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants