File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,18 @@ set -o pipefail
66set -o xtrace
77
88function install_packages {
9- # Setup Ansible on host VM
10- sudo apt-get update && sudo apt-get install software-properties-common -y
11- sudo add-apt-repository --yes --update ppa:ansible/ansible && sudo apt-get install ansible -y
12- ansible-galaxy collection install community.general
9+ # Setup Ansible on host VM
10+ sudo apt-get update && sudo apt-get install -y software-properties-common
1311
12+ # Manually add GPG key with explicit keyserver
13+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
14+
15+ # Add repository and install
16+ sudo add-apt-repository --yes ppa:ansible/ansible
17+ sudo apt-get update
18+ sudo apt-get install -y ansible
19+
20+ ansible-galaxy collection install community.general
1421}
1522
1623
You can’t perform that action at this time.
0 commit comments