-
Notifications
You must be signed in to change notification settings - Fork 287
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
Role cannot install Zabbix web 5.0 on RHEL 7 #202
Comments
Hi @tux-o-matic What does |
Indeed, the |
Hi @tux-o-matic Yes, with CentOS it does provide |
In regards to the handling of SCL, tasks will have to be slightly different/split between CentOS and RHEL. |
Hi @tux-o-matic I created a PR, are you able to test this and let me know how it works? Kind regards, |
Any easy way to test your PR @dj-wasabi ? collections:
- name: community.zabbix
scm: git
src: https://github.com/dj-wasabi/community.zabbix
version: install-rhel-repo Is not working to download your patch. |
And if you do a git clone and checkout to the branch on command line instead of doing a requirements file? |
Thanks @dj-wasabi , that way works to test. when:
- zabbix_repo == "zabbix" That's too restrictive, the SCL is needed on RHEL 7 for PHP 7.2 regardless of the repo used to fetch Zabbix packages. |
I have removed it and pushed it. |
So it's not right, I can confirm my earlier claim: you need to have the "rhel-server-rhscl-7-rpms" repo enable don RHEL7. |
Oh? But you provided a link to a Github repository and use that repo. The roles in this collection should only maintain their own repository files and not change other repository files, as this would increase confusion and destroy idempotence. So unless you have other ideas, then this would result in closing the issue. |
idempotence, no... as long as subsequent Ansible run do not duplicate a previously applied change. |
If you fear over reaching by default, then a |
SUMMARY
Despite using the name "RedHat", the zabbix_web role can only install on CentOS, not RHEL 7 (EL 8 is another story).
This is due to the reliance on the CentOS SCL which in RHEL doesn't exist.
The CentOS SCL project documents the alternative for RHEL on their GitHub.
Also, note that the documented default and actual default value do not match for the parameter * zabbix_web_centos_release*.
ISSUE TYPE
COMPONENT NAME
Zabbix_web
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT / Zabbix Version
Red Hat Enterprise Linux 7
STEPS TO REPRODUCE
Try to deploy zabbix_web on RHEL 7.
EXPECTED RESULTS
The role should set the right Yum repo on RHEL 7 to install the web and PHP rpm needed by Zabbix 5.0.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: