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 http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. Thet have been ignored, or old ones used instead.