Skip to content

molecule-podman not working on github CI with systemd #3155

Answered by gotmax23
fauust asked this question in Q&A
Discussion options

You must be logged in to vote

Take a look at https://github.com/gotmax23/ansible-role-update/blob/5a22e1ff20aa34834a1b2b7c5a7232b445f79404/.github/workflows/molecule.yml#L133. The reason you faced this issue on Github Actions and not your local machine is because Github Actions does not start a Systemd user instance by itself, which is required for rootless Podman*. On most Linux distros, a Systemd user service starts automatically when you log in, but this is not the case on Github Actions runners.

*: I believe there is some way to remove dependence on Systemd.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fauust
Comment options

Answer selected by fauust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants