-
Notifications
You must be signed in to change notification settings - Fork 1
/
jenkins.yml
34 lines (29 loc) · 1.5 KB
/
jenkins.yml
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
# (c) 2017 DataNexus Inc. All Rights Reserved
#
# Defaults that are necessary for all deployments of jenkins
---
application: jenkins
jenkins_package_list: ["epel-release", "java-1.8.0-openjdk", "java-1.8.0-openjdk-devel"]
# the port that Jenkins should listen on
jenkins_port: 8080
# path used to access private keys (defaults to the current working directory)
private_key_path: "{{playbook_dir}}"
# this variable defines the default ensemble that will be created when
# deploying to an AWS or OpenStack environment; the value defined here will
# result in the deployment of a three-node storm cluster
node_map:
- { application: jenkins, count: 1 }
# and define a set of application-specific security group rules; this list of
# dictionary entries is used when setting up an application-specific security
# on the network used by this application; the rules defined here allow for
# access over the internal and external subnet for:
#
# - HTTP client connections via the jenkins_port (port 8081 by default)
#
# this set of rules should, more than likely, not be overridden; if it is
# overridden, then care should be taken to at least maintain this default list
# of application-specific security group rules or the nodes in the cluster may
# not be able to communicate with each other
application_sg_rules:
- { proto: tcp, from_port: "{{jenkins_port}}", to_port: "{{jenkins_port}}", cidr_ip: "{{external_subnet}}" }
- { proto: tcp, from_port: "{{jenkins_port}}", to_port: "{{jenkins_port}}", cidr_ip: "{{internal_subnet}}" }