Skip to content
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

Update zabbix_web selinux conditionals for RHEL 8 #330

Merged
merged 1 commit into from
Mar 13, 2021

Conversation

frenchtoasters
Copy link
Contributor

This conditional runs no matter if the host is RHEL 5/6/7 when it should only run for when the host is a RHEL 8 machine. The package is not available for below RHEL 8 and fails every time without this flag.

Failure Message:

fatal: [default]: FAILED! => {"attempts": 3, "changed": false, "msg": "No package matching 'python3-libsemanage' found available, installed or updated", "rc": 126, "results": ["No package matching 'python3-libsemanage' found available, installed or updated"]}
SUMMARY

This fixes an issue where the RHEL 8 package would be attempted to install and would fail because the package is only for RHEL 8 when the host is RHEL 7.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

zabbix_web -> selinux

ADDITIONAL INFORMATION

This conditional runs no matter if the host is RHEL 5/6/7 when it should only run for when the host is a RHEL 8 machine. The package is not available for below RHEL 8 and fails every time without this flag. 

Failure Message:
```
fatal: [default]: FAILED! => {"attempts": 3, "changed": false, "msg": "No package matching 'python3-libsemanage' found available, installed or updated", "rc": 126, "results": ["No package matching 'python3-libsemanage' found available, installed or updated"]}
```
@dj-wasabi dj-wasabi merged commit 4ec3b1c into ansible-collections:main Mar 13, 2021
@dj-wasabi
Copy link

Provided PR #344 to fix CI, so I will merge this PR.

Thanks! 👍

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.

2 participants