Skip to content

dolobanko/ansible-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Description

ansible-jenkins is an Ansible role. Use this role to install Jenkins and install/update plugins.

Create a host file

$ vi ansible.host

with

[jenkins]
your-server-ip

### Run the playbook


First create a playbook including the jenkins role, naming it jenkins.yml.

```yml
- name: Jenkins
  hosts: jenkins
  roles:
    - ansible-jenkins
$ ansible-playbook -i ansible.host jenkins.yml

To confirm installation, go to you-server-ip:8080 and put secret key:

$ cat /var/lib/jenkins/secrets/initialAdminPassword

About

Ansible role for Jenkins setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published