Conversation
1797e93
to
0e10e6c
Compare
Thanks for this PR, @Furragen! Since we don't have automated tests for centos/rhel8 yet, I'd like to test it manually first, when I find the time. |
That sounds fine. |
So, I tested this locally on all machines and only Amazon Linux had problems. I do not have a machine with Amazon Linux around, but it seems to be the only thing breaking here. |
Hey @Furragen, thanks again for your PR. I noticed that when we merge this PR, we will have three tasks that install selinux-dependencies: one for rhel7 and below, one for rhel8 and one for debian systems. That's a lot of code duplication for basically the same task. So I propose that we create a variable that holds the names of the packages to be installed and put this variable in the What do you think about this? Do you want to implement this? We could also then do this with the install-tasks in |
Hi @rndmh3ro, Regarding your proposal: On the other hand, I think this role will be fine with that approach. Before I implement it: do you really need selinux-support on Debian/Ubuntu? |
I'd love that!
Yeah, making it possible to overwrite variables is something we strive for. However, as you said, this role should be fine, because a) there was no possibility to overwrite the variables before (and no one seemed to care) and b) package-names should rarely be overwritten.
Well for now I'd keep it. I'll create a new issue though to check, how we can and should support selinux on debian-systems. |
421c61d
to
c1d0f6b
Compare
Signed-off-by: Furragen <git@axk.io>
So, |
Thanks @Furragen, great work! |
RHEL 8 only supports python3, therefore the the package for policycoreutils-module changed.
This commit reflects that change and installs a different package depending on the major release.