I'm trying to install ansible in my Jenkins using a docker image but I keep getting stuck with an error.
My Dockerfile:
FROM jenkins
USER root
RUN apt-get install -y software-properties-common
RUN apt-add-repository ppa:ansible/ansible
RUN apt-get update
RUN apt-get install -y ansible
USER jenkins
Error:
W: Failed to fetch <repository-url> 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.