Skip to content

hemanth22/ansible-role-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name : jenkins

This ansible role will install jenkins in the AWS ec2 using centos7 images.

Build Status

default Username: admin
default Password: admin
default Port: 80

Requirements

You need to install python-pip and boto to launch this EC2 based ansible module.

Role Variables

Try exploring defaults/main.yml in the github to understand which variables can be override.

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

---
- hosts: localhost
  become: true
  gather_facts: false
  vars:
    keypair: Give your exiting keypair name here
    instance_type: give the instance_type
    security_group: Give your security group information
    vpc_subnet_id: give your vpc subnet id
    volume_size: Enter volume_size
    region: us-west-2 (CentOS image which i have chosen is working in us-west-2 better try this region)
    ec2_access_key: Give here aws_access_key
    ec2_secret_key: Give here aws_secret_key
  roles:
    - hemanth22.jenkins

License

MIT / BSD

Author Information

This role was created in 2019 by Hemanth BITRA

About

This ansible roles configures jenkins in aws ec2 instance.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages