mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-16 10:55:07 +02:00
fix(semaphore): switch from Debian 12 to Ubuntu 24.04
Ansible PPA (ansible-core 2.20+) requires Python 3.12+ which is not available on Debian 12 (ships Python 3.11). This causes a SyntaxError during ansible-core installation on Debian. Ubuntu 24.04 ships Python 3.12 natively, making the Ansible PPA fully compatible. Replaced the manual deb822 repo setup with the native apt-add-repository PPA method.
This commit is contained in:
@@ -14,13 +14,7 @@ network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y git
|
||||
setup_deb822_repo \
|
||||
"ansible" \
|
||||
"https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" \
|
||||
"http://ppa.launchpad.net/ansible/ansible/ubuntu" \
|
||||
"noble"
|
||||
$STD apt install -y ansible
|
||||
$STD apt-get install -y git ansible
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
fetch_and_deploy_gh_release "semaphore" "semaphoreui/semaphore" "binary" "latest" "/opt/semaphore" "semaphore_*_linux_amd64.deb"
|
||||
|
||||
Reference in New Issue
Block a user