-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
converge.yml
84 lines (82 loc) · 2.63 KB
/
converge.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
- name: Converge
hosts: all
become: true
gather_facts: true
vars:
# tomcat_address: "127.0.0.1"
tomcat_instances:
- name: "tomcat"
# - name: "tomcat-version-7"
# version: 7
# shutdown_port: 8007
# non_ssl_connector_port: 8082
# ssl_connector_port: 8445
# ajp_port: 8011
# - name: "tomcat-version-8"
# version: 8
# shutdown_port: 8008
# non_ssl_connector_port: 8083
# ssl_connector_port: 8446
# ajp_port: 8012
# - name: "tomcat-version-9"
# version: 9
# shutdown_port: 8019
# non_ssl_connector_port: 8084
# ssl_connector_port: 8447
# ajp_port: 8013
# - name: "tomcat-specific"
# user: "specificuser"
# group: "specificgroup"
# shutdown_port: 8020
# shutdown_pass: shutme
# non_ssl_connector_port: 8085
# ssl_connector_port: 8448
# ajp_port: 8014
# xms: 256M
# xmx: 512M
# - name: "tomcat-with-wars"
# shutdown_port: 8021
# non_ssl_connector_port: 8086
# ssl_connector_port: 8449
# ajp_port: 8015
# wars:
# - url: https://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war
# - url: "https://github.com/aeimer/java-example-helloworld-war/raw/master/dist/helloworld.war"
# - name: "tomcat-java_opts"
# shutdown_port: 8022
# non_ssl_connector_port: 8087
# ssl_connector_port: 8449
# ajp_port: 8016
# java_opts:
# - name: UMASK
# value: "0007"
# - name: "tomcat-with_lib"
# shutdown_port: 8023
# non_ssl_connector_port: 8088
# ssl_connector_port: 8450
# ajp_port: 8017
# libs:
# - url: "https://search.maven.org/remotecontent?filepath=io/prometheus/simpleclient/0.6.0/simpleclient-0.6.0.jar"
# - name: "tomcat-access-logs"
# shutdown_port: 8024
# non_ssl_connector_port: 8089
# ssl_connector_port: 8451
# ajp_port: 8018
# access_log_enabled: true
# access_log_directory: "my-logs"
# access_log_prefix: my-access-logs
# access_log_suffix: ".log"
# access_log_pattern: "%h %l %u %t "%r" %s %b"
# - name: "tomcat-config-files"
# shutdown_port: 8025
# non_ssl_connector_port: 8090
# ssl_connector_port: 8452
# ajp_port: 8019
# ajp_secret: "SoMe-SeCrEt"
# config_files:
# - src: "{{ role_path }}/files/dummy.properties"
# dest: "./"
# mode: "0644"
roles:
- role: ansible-role-tomcat