Skip to content

chore: try to fix frequent timeout on install of ansible-galaxy #1466

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

Merged
merged 1 commit into from
Mar 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions scripts/nix-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ set -o pipefail
set -o xtrace

function install_packages {
# Setup Ansible on host VM
sudo apt-get update && sudo apt-get install software-properties-common -y
sudo add-apt-repository --yes --update ppa:ansible/ansible && sudo apt-get install ansible -y
ansible-galaxy collection install community.general
# Setup Ansible on host VM
sudo apt-get update && sudo apt-get install -y software-properties-common

# Manually add GPG key with explicit keyserver
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367

# Add repository and install
sudo add-apt-repository --yes ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible

ansible-galaxy collection install community.general
}


Expand Down