As described it here:
https://discussion.fedoraproject.org/t/dark-mode-for-the-fedoraproject-org-wiki-page-as-a-logged-in-user-exists-a-wokaround/147345
I made a fork of Ryan Lerch/Forks/Fedora Mediawiki Theme because he was ahead of main on gitlab.
I do following the instructions of the README.md and get Errors:
Bringing machine 'wiki' up with 'libvirt' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: Vagrant: * Unknown configuration section 'hostmanager'.
Solved with installing vagrant-hostmanager package # I might add this to the instructions?
Looks like an alert ?!
wiki: Downloading: https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-39-1.5.x86_64.vagrant-libvirt.box ==> wiki: Successfully added box 'f39-cloud-libvirt' (v0) for 'libvirt'! ==> wiki: No version detected for f39-cloud-libvirt, using timestamp to watch for modifications. Consider ==> wiki: generating a local metadata for the box with a version to allow better handling. ==> wiki: See https://www.vagrantup.com/docs/boxes/format#box-metadata for further details. ==> wiki: Running provisioner: shell... wiki: Running: inline script wiki: Fedora 39 - x86_64 4.2 MB/s | 89 MB 00:21 wiki: Fedora 39 openh264 (From Cisco) - x86_64 574 B/s | 2.6 kB 00:04 wiki: Fedora 39 - x86_64 - Updates 2.6 MB/s | 42 MB 00:16 wiki: Last metadata expiration check: 0:00:03 ago on Thu 20 Mar 2025 01:55:24 PM UTC. wiki: Package python3-libselinux-3.5-5.fc39.x86_64 is already installed. wiki: Package python3-libsemanage-3.5-4.fc39.x86_64 is already installed. wiki: Dependencies resolved. wiki: Nothing to do. wiki: Complete! ==> wiki: Running provisioner: ansible... wiki: Running ansible-playbook... ERROR! couldn't resolve module/action 'postgresql_user'. This often indicates a misspelling, missing collection, or incorrect module path. The error appears to be in '/home/ilikelinux/www/gitlab/fedora-mediawiki-theme/ansible/roles/db/tasks/main.yml': line 31, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be:
==> wiki: Running provisioner: shell... wiki: Running: inline script wiki: Fedora 39 - x86_64 4.2 MB/s | 89 MB 00:21 wiki: Fedora 39 openh264 (From Cisco) - x86_64 574 B/s | 2.6 kB 00:04 wiki: Fedora 39 - x86_64 - Updates 2.6 MB/s | 42 MB 00:16 wiki: Last metadata expiration check: 0:00:03 ago on Thu 20 Mar 2025 01:55:24 PM UTC. wiki: Package python3-libselinux-3.5-5.fc39.x86_64 is already installed. wiki: Package python3-libsemanage-3.5-4.fc39.x86_64 is already installed. wiki: Dependencies resolved. wiki: Nothing to do. wiki: Complete! ==> wiki: Running provisioner: ansible... wiki: Running ansible-playbook... ERROR! couldn't resolve module/action 'postgresql_user'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/home/ilikelinux/www/gitlab/fedora-mediawiki-theme/ansible/roles/db/tasks/main.yml': line 31, column 7, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
Main.yml (fedora-mediawiki-theme/ansible/roles/db/tasks)
- block: - name: Create the database user postgresql_user: name: "mediawikiuser" become: yes become_user: postgres become_method: sudo
become: yes become_user: postgres become_method: sudo
This is more an issue for https://gitlab.com/fedora/websites-apps/themes/fedora-mediawiki-theme, but feel free to add PR there.
I don't think this has anything to do with the fedora infrastructure, so I'm closing this as upstream issue.
Metadata Update from @zlopez: - Issue close_status updated to: Upstream - Issue status updated to: Closed (was: Open)
Thanks for the info. Gitlab is not upstream anymore ... moved to Github:
https://github.com/fedora-infra/fedora-mediawiki-theme/issues/3
Metadata Update from @ilikelinux: - Issue status updated to: Open (was: Closed)
Metadata Update from @ilikelinux: - Issue close_status updated to: Upstream
Log in to comment on this ticket.