File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ RUN apt-get update \
2828
2929# Ansible
3030RUN apt-get update \
31- && apt-get install -y software-properties-common \
32- && apt-add-repository "deb http ://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \
33- && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
31+ && apt-get install -y software-properties-common wget gpg \
32+ && wget -O- "https ://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | gpg --dearmour -o /usr/share/keyrings/ansible-archive-keyring.gpg \
33+ && echo "deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu jammy main" | tee /etc/apt/sources.list.d/ansible.list \
3434 && apt-get update \
3535 && apt-get install -y --allow-unauthenticated ansible
3636
You can’t perform that action at this time.
0 commit comments