4 apt install -y openssh-server
9 apt-get remove docker docker-engine docker.io containerd runc
17 mkdir -p /etc/apt/keyrings
19 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
21 "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
22 $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
26 apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
27 systemctl enable docker
28 systemctl start docker
30 # XTesting dependencies
31 apt update && apt install git -y
32 [ -z "$VIRTUAL_ENV" ] && apt install python3-pip -y && pip3 install ansible
33 ansible-galaxy install collivier.xtesting
34 ansible-galaxy collection install ansible.posix community.general community.grafana \
35 community.kubernetes community.docker community.postgresql