-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fedora support broken #1610
Comments
I didn't know we even support Fedora. You can manually set what ntp service and package to use by redefining To debug what's going on, it might be helpful to try temporarily adding this at the top of - debug: var="ansible_os_family"
- debug: var="ansible_distribution_major_version"
- fail: msg="Stop here" .. and then re-running the playbook ( We may then be able to adjust our conditional statements for I suppose other things may be breaking on Fedora as well, besides this ntp stuff. |
Yes it worked for me pretty much out of the box until I accidentally removed /matrix and had to run the setup again. I use an external nginx proxy on the host to deal with firewall rules. The issue was Changes/NtpReplacement, so I defined: Unfortunately I ran into another problem namely:
Should I open another issue for this? |
The variables you provided unfortunately did not work but I ran
So no error on this end. But if I am reading a095acc correct then |
This indicates that you've made changes to the Element themes repository that's cloned in
If you're getting:
.. then I also expect that the conditional statement we have since a095acc will indeed make it use I expect that the
.. which means it should be dying here for you: matrix-docker-ansible-deploy/roles/matrix-base/tasks/server_base/setup_redhat8.yml Lines 27 to 32 in e0df99a
Can you modify the name of this task (e.g. You can also add this somewhere and see what it says: - debug: var="matrix_ntpd_package"
- debug: var="matrix_ntpd_service" |
Indeed, build.py was modified even tho I don't remember to have tampered with this file ...
I removed the manual ntp_package definition and modified the task.
|
That was helpful! I believe I've fixed this in 7330992. See the commit description for more information on what the problem was. |
Fedora 35 is: - `ansible_os_family = 'RedHat'` - `ansible_distribution_major_version = '35'` Our RedHat checks against v7/v8 are really for RHEL derivatives (CentOS, Rockylinux, AlmaLinux), but the same checks (by coincidence) apply for Fedora 35. The problem is that `'35' > '7'` (comparing these as strings) is `false`. This patch makes sure that we always cast `ansible_distribution_major_version` to an integer. Related to spantaleev/matrix-docker-ansible-deploy#1610 Original fix here: spantaleev/matrix-docker-ansible-deploy@7330992
I suspect a095acc to broke my installation.
Im using Feora 35 with ntpd and the task
[matrix-base : Ensure yum packages are installed]
fails withNo package ntp available
.When switching to systemd-timesyncd the same error occurs.
ansible --version
The text was updated successfully, but these errors were encountered: