This role installs Docker and run jenkins container.
ansible-galaxy install eriklotin.jenkins
or install locally:
ansible-galaxy install eriklotin.jenkins -p ./roles/
List of system users which will be added to docker system group.
docker_users: []
Working directory. jenkins
in home directory by default. Will created by role.
jenkins_workdir: "{{ ansible_env.HOME }}/jenkins"
Port for access to Jenkins.
jenkins_port: 8080
- hosts: all
vars:
- docker_users: ["ubuntu"]
- jenkins_port: 80
roles:
- role: eriklotin.jenkins
This role uses eriklotin.docker role to install Docker and do post-install tasks.
MIT. See LICENSE
file.
Created in 2019-02 by Erik Lotin.