-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yaml
51 lines (50 loc) · 1.73 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
- hosts: all
become: true
# become_flags: -E # Only used this if the sudo user is not able to download packages
vars:
# Check the geerlingguy.jenkins role defaults/main.yml file for more variables that can be modified
jenkins_package_state: latest # Change this to `latest` to update Jenkins if a newer version is available, this won't remove the previous version
# jenkins_hostname: "<hostname>"
jenkins_home: /var/lib/jenkins
jenkins_jar_location: /opt/jenkins-cli.jar
# jenkins_proxy_host: "<proxy node or ip>"
# jenkins_proxy_port: "<port>" #127.0.0.1 and localhost should be the minimum in the no_proxy section
jenkins_http_port: 8080
# jenkins_proxy_noproxy:
# - 127.0.0.1
# - localhost
jenkins_plugins_state: present # Change this to 'latest' to update plugins if newer versions are available.
jenkins_options: "" ## See: https://www.jenkins.io/doc/book/installing/initial-settings/
jenkins_admin_username: admin
jenkins_admin_password: admin
jenkins_plugins:
- credentials
- matrix-auth
- authorize-project
- pipeline-stage-view
- script-security
- git-client
- github
- github-api
- github-branch-source
- docker-workflow
- docker-plugin
- blueocean-git-pipeline
- blueocean-github-pipeline
- ansible
- uno-choice
- blueocean
- dark-theme
- thinBackup
- ssh-agent
- ssh-slaves
- ssh-steps
- rebuild
- ansicolor
# jenkins_version: "2.375" ## Just uncoment if you really want to specify the version
# java_packages: ## Same comment as above
# - java-11-openjdk
roles:
- role: geerlingguy.java
- role: geerlingguy.jenkins