This role installs a Jenkins JNLP slave and configures the start parameters to connect it to the master.
The slave is run under an own user jenkins-slave
.
Debian
Name | Default / Mandatory | Description |
---|---|---|
jenkins_slave_master |
✔️ | URL to the master installation |
jenkins_slave_node_name |
✔️ | The name of this Jenkins node |
jenkins_slave_secret |
✔️ | The Secret to connect to the master |
- hosts: slaves
roles:
- role: jenkins-slave
jenkins_slave_master: https://jenkins.example.com
jenkins_slave_node_name: "{{ inventory_hostname }}"
jenkins_slave_secret: eae68e1e30f8659224ac5d0d32884ab0814284aa43d18d700a4df41d3e298962
jenkins_port: 8081
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.