Oh, in your first post, it says 24.04.For now "Supported OS: Ubuntu 20.04 & 22.04". I haven't updated it for 24.04 yet.
I guess you meant to write 22.04 instead of 24.04
Oh, in your first post, it says 24.04.For now "Supported OS: Ubuntu 20.04 & 22.04". I haven't updated it for 24.04 yet.
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
Starting Ansible Pull at 2025-02-11 18:08:11
/usr/bin/ansible-pull -i localhost, -U GitHub - DevelopersPL/otshosting-provisioning: Ansible playbook to provision OTS Hosting on Ubuntu 20.04 (https://github.com/DevelopersPL/otshosting-provisioning.git) -d /srv/otshosting-provisioning -t default
[WARNING]: Could not match supplied host pattern, ignoring: ots
[DEPRECATION WARNING]: Distribution ubuntu 22.04 on host localhost should use
/usr/bin/python3, but is using /usr/bin/python for backward compatibility with
prior Ansible releases. A future Ansible release will default to using the
discovered platform python for this host. See Ansible Documentation — Ansible Community Documentation (https://docs.ansible.com/ansible/)
2.10/reference_appendices/interpreter_discovery.html for more information. This
feature will be removed in version 2.12. Deprecation warnings can be disabled
by setting deprecation_warnings=False in ansible.cfg.
localhost | CHANGED => {
"after": "3b694a3932fdcead3f83c385b4d483bd5ef00d7e",
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"before": null,
"changed": true
}
[WARNING]: Could not match supplied host pattern, ignoring: ots
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
[DEPRECATION WARNINGok: [local]: Distribhost]
ution ubuntu 22.04 on host localhost should use
/usr/bin/python3, but is using /usr/bin/python for backward compatibility with
prior Ansible releases. A future Ansible release will default to using the
discovered platform python for this host. See Ansible Documentation — Ansible Community Documentation (https://docs.ansible.com/ansible/)
2.10/reference_appendices/interpreter_discovery.html for more information. This
feature will be removed in version 2.12. Deprecation warnings can be disabled
by setting deprecation_warnings=False in ansible.cfg.
TASK [Fail if not running on Ubuntu] *******************************************
skipping: [localhost]
TASK [Fail if Ubuntu older than 20.04] *****************************************
skipping: [localhost]
TASK [Check available PHP package name/version] ********************************
ok: [localhost]
TASK [Register available PHP package name/version] *****************************
ok: [localhost]
TASK [Create /var/log/journal] *************************************************
ok: [localhost]
TASK [Create /etc/systemd/journald.conf.d] *************************************
changed: [localhost]
TASK [Install /etc/systemd/journald.conf.d/journald.conf] **********************
changed: [localhost]
TASK [Remove LXC, snapd in case it's installed (Ubuntu Cloud has it)] **********
[WARNING][local Updating host]
cache and auto-installing missing dependency: python3-apt
TASK [Upgrade whole system] ****************************************************
changed: [localhost]
TASK [Install admin essentials] ************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No package matching 'unrar' is available"}
RUNNING HANDLER [restart systemd-journald] *************************************
PLAY RECAP *********************************************************************
localhost : ok=8 changed=3 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
tryHello how to fix that errors??
If still there will be the same error.
From root account, write command " visudo /etc/sudoers "
And check if there is "otsmanager ALL=(ALL:ALL) ALL" if not add this below root user.
"root ALL=(ALL:ALL) ALL" should be there, but if not add this.
Exit through Ctrl+x buttons, save yes.
View attachment 86472
alias updatetfs='cd /home/otsmanager/forgottenserver && git pull && rm -rf build && mkdir -p build && cd build && cmake .. && make && cd'