Code Monkey home page Code Monkey logo

jenkins-swarm-client-role's Introduction

Jenkins Swarm Client

Introduction

This is an ansible role to install and configure a jenkins-swarm-client onto a systemd based system. This will automatically register (or deregister if the client is stopped) the host to your jenkins master as a node.

Requirements

Variables

Name Description Default
swarm_client_installation_dir installation folder for swarm-client /construction/swarm-client
swarm_client_local_user installation user root
swarm_client_local_group installation group root
swarm_client_version client version 2.2
swarm_client_name local jar file name 'swarm-client-{{ swarm_client_version }}.jar'
swarm_client_url download url 'https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/{{ swarm_client_version }}/swarm-client-{{ swarm_client_version }}-jar-with-dependencies.jar'
swarm_client_service_path path to store systemd file /etc/systemd/system/
swarm_client_service_file systemd unit file name swarm_client.service
swarm_client_service_state service state started
swarm_client_service_enabled service enabled true
swarm_client_service_template systemd template file swarm_client.service.j2
swarm_client_working_dir jenkins working dir /construction/jenkins-slave
swarm_client_description description shown in jenkins "I am a swarm node"
swarm_client_executors number of executors on this node 1
swarm_client_labels labels to use useme
swarm_client_jenkins_master jenkins master url to connect to http://localhost:8080/
swarm_client_jenkins_master_user username used for connection changeme
swarm_client_jenkins_master_pass changeme password used for connection
swarm_client_mode mode to start with exclusive
swarm_client_jenkins_name displayed name in jenkins swarm-node
swarm_client_retries retry count 5

Usage

Install swarm client package

---
- hosts: servers
  roles:
  - role: swarm-client

License

BSD

Author Information

Bjoern Jessen-Noak

jenkins-swarm-client-role's People

Contributors

oswalya avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.