-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible changes for RH 7 and Python3 #278
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
74fb722
Initial changes for python3 SELinux and python3-devel
amanda11 7be2807
Handle yum info failing as expected on RH 7
amanda11 ddbded5
Fix for when selinux is disabled
amanda11 d587460
Move libselinux-python3 to nginx role
amanda11 18b9119
Remove libselinux-python3
amanda11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need
libselinux-python3
dependency? I can't find any usage inStackStorm.st2
role.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends really on what python3 modules are used, ST2 itself doesn't need it, but there may be packs that import modules that need it given they are being moved from python2 -> 3, and therefore don't get the python3 selinux policies by default.
We could remove it, and then it would be up to the packs to ensure that they add the dependency if they need it.
I'm fine with either method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That dependency is already installed in
nginx
role:ansible-st2/roles/StackStorm.nginx/vars/redhat_8.yml
Lines 1 to 3 in 75193b9
which is then used to adjust some security restrictions that may come by default in RHEL/CentOS
ansible-st2/roles/StackStorm.nginx/tasks/nginx_redhat.yml
Lines 81 to 95 in 75193b9
With that, we don't need it in
st2
role, but may need to update theansible-st2/roles/StackStorm.nginx/vars/redhat.yml
Lines 1 to 3 in 75193b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - that's a better place to put it. Will move it to Nginx role.