2023-12-03 18:57:51 +01:00
|
|
|
#!/bin/bash
|
|
|
|
UBUNTU_CODENAME=jammy
|
|
|
|
|
|
|
|
sudo apt update
|
2024-02-25 20:30:31 +01:00
|
|
|
sudo apt install -y wget gpg
|
2023-12-03 18:57:51 +01:00
|
|
|
|
|
|
|
wget -O- "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | sudo gpg --dearmour -o /usr/share/keyrings/ansible-archive-keyring.gpg
|
|
|
|
echo "deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu $UBUNTU_CODENAME main" | sudo tee /etc/apt/sources.list.d/ansible.list
|
|
|
|
sudo apt update
|
2024-02-25 20:30:31 +01:00
|
|
|
sudo apt install -y ansible
|