-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.yml
238 lines (212 loc) · 8.08 KB
/
all.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
---
aem_root_dir: "{{ playbook_dir }}/aem_root"
aem_home_dir: "{{ aem_root_dir }}/home"
aem_tmp_dir: "{{ aem_home_dir }}/tmp"
aem_lib_dir: "{{ aem_home_dir }}/lib"
aem_tool_dir: "{{ aem_home_dir }}/opt"
aem_instance_user: admin
aem_instance_password: admin
aem_author_active: true
aem_author_ip: 127.0.0.1
aem_author_http_url: "http://{{ aem_author_ip }}:4502"
aem_author_debug_addr: 0.0.0.0:14502
aem_publish_active: true
aem_publish_ip: 127.0.0.1
aem_publish_http_url: "http://{{ aem_publish_ip }}:4503"
aem_publish_debug_addr: 0.0.0.0:14503
aem_dispatcher_ip: 127.0.0.1
aem_dispatcher_http_url: "http://{{ aem_dispatcher_ip }}"
aem_config_dict:
# AEM instances to work with
instance:
# Full details of local or remote instances
config:
local_author:
active: "{{ aem_author_active }}"
http_url: "{{ aem_author_http_url }}"
user: "{{ aem_instance_user }}"
password: "{{ aem_instance_password }}"
run_modes: [ local ]
jvm_opts:
- -server
- -Djava.awt.headless=true
- "-Djava.io.tmpdir={{ aem_tmp_dir }}"
- "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address={{ aem_author_debug_addr }}"
- -Duser.language=en
- -Duser.country=US
- -Duser.timezone=UTC
start_opts: [ ]
secret_vars:
- ACME_SECRET=value
env_vars:
- ACME_VAR=value
sling_props: [ ]
local_publish:
active: "{{ aem_publish_active }}"
http_url: "{{ aem_publish_http_url }}"
user: "{{ aem_instance_user }}"
password: "{{ aem_instance_password }}"
run_modes: [ local ]
jvm_opts:
- -server
- -Djava.awt.headless=true
- "-Djava.io.tmpdir={{ aem_tmp_dir }}"
- "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address={{ aem_publish_debug_addr }}"
- -Duser.language=en
- -Duser.country=US
- -Duser.timezone=UTC
start_opts: [ ]
secret_vars:
- ACME_SECRET=value
env_vars:
- ACME_VAR=value
sling_props: [ ]
# Tuning performance & reliability
# 'auto' - for more than 1 local instances - 'serial', otherwise 'parallel'
# 'parallel' - for working with remote instances
# 'serial' - for working with local instances
processing_mode: auto
# HTTP Client settings
http:
timeout: 5m
debug: false
disable_warn: true
# State checking
check:
# Time to wait before first state checking (to avoid false-positives)
warmup: 1s
# Time to wait for next state checking
interval: 6s
# Number of successful check attempts that indicates end of checking
done_threshold: 5
# Wait only for those instances whose state has been changed internally (unaware of external changes)
await_strict: true
# Max time to wait for the instance to be healthy after executing the start script or e.g deploying a package
await_started:
timeout: 30m
# Max time to wait for the instance to be stopped after executing the stop script
await_stopped:
timeout: 10m
# Max time in which socket connection to instance should be established
reachable:
timeout: 3s
# Bundle state tracking
bundle_stable:
symbolic_names_ignored: [ ]
# OSGi events tracking
event_stable:
# Topics indicating that instance is not stable
topics_unstable:
- "org/osgi/framework/ServiceEvent/*"
- "org/osgi/framework/FrameworkEvent/*"
- "org/osgi/framework/BundleEvent/*"
# Ignored service names to handle known issues
details_ignored:
- "*.*MBean"
- "org.osgi.service.component.runtime.ServiceComponentRuntime"
- "java.util.ResourceBundle"
received_max_age: 5s
# Sling Installer tracking
installer:
# JMX state checking
state: true
# Pause Installation nodes checking
pause: true
# Managed locally (set up automatically)
local:
# Current runtime dir (Sling launchpad, JCR repository)
unpack_dir: "{{ aem_home_dir }}/var/instance"
# Archived runtime dir (AEM backup files '*.aemb.zst')
backup_dir: "{{ aem_home_dir }}/var/backup"
# Additional tools needed to manage instance
tool_dir: "{{ aem_tool_dir }}"
# Oak Run tool options (offline instance management)
oak_run:
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.44.0/oak-run-1.44.0.jar"
store_path: "crx-quickstart/repository/segmentstore"
# Source files
quickstart:
# AEM SDK ZIP or JAR
dist_file: "{{ aem_home_dir }}/lib/{aem-sdk,cq-quickstart}-*.{zip,jar}"
# AEM License properties file
license_file: "{{ aem_home_dir }}/lib/license.properties"
# Status discovery (timezone, AEM version, etc)
status:
timeout: 500ms
# JCR Repository
repo:
property_change_ignored:
# AEM assigns them automatically
- "jcr:created"
- "cq:lastModified"
# AEM encrypts it right after changing by replication agent setup command
- "transportPassword"
# CRX Package Manager
package:
# Force re-uploading/installing of snapshot AEM packages (just built / unreleased)
snapshot_patterns: [ "**/*-SNAPSHOT.zip" ]
# Use checksums to avoid re-deployments when snapshot AEM packages are unchanged
snapshot_deploy_skipping: true
# Disable following workflow launchers for a package deployment time only
toggled_workflows: [ /libs/settings/workflow/launcher/config/asset_processing_on_sdk_*,/libs/settings/workflow/launcher/config/update_asset_*,/libs/settings/workflow/launcher/config/dam_* ]
# Include sub-packages
install_recursive: true
# Use slower HTML endpoint for deployments but with better troubleshooting
install_html:
enabled: false
# Print HTML directly to console instead of writing to file
console: false
# Fail on case 'installed with errors'
strict: true
# OSGi Framework
osgi:
shutdown_delay: 3s
bundle:
install:
start: true
start_level: 20
refresh_packages: true
# Crypto Support
crypto:
key_bundle_symbolic_name: com.adobe.granite.crypto.file
# Workflow Manager
workflow:
launcher:
lib_root: /libs/settings/workflow/launcher
config_root: /conf/global/settings/workflow/launcher
toggle_retry:
timeout: 5m
delay: 10s
java:
# Require following versions before e.g running AEM instances
version_constraints: ">= 11, < 12"
# Pre-installed local JDK dir
# a) keep it empty to download open source Java automatically for current OS and architecture
# b) set it to absolute path or to env var '[[.Env.JAVA_HOME]]' to indicate where closed source Java like Oracle is installed
home_dir: ""
# Auto-installed JDK options
download:
# Source URL with template vars support
url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jdk_[[.Arch]]_[[.Os]]_hotspot_11.0.18_10.[[.ArchiveExt]]"
# Map source URL template vars to be compatible with Adoptium Java
replacements:
# Var 'Os' (GOOS)
"darwin": "mac"
# Var 'Arch' (GOARCH)
"x86_64": "x64"
"amd64": "x64"
"386": "x86-32"
# enforce non-ARM Java as some AEM features are not working on ARM (e.g Scene7)
"arm64": "x64"
"aarch64": "x64"
output:
log:
# File path of logs written especially when output format is different than 'text'
file: "{{ aem_home_dir }}/var/log/aem.log"
# Controls where outputs and logs should be written to when format is 'text' (console|file|both|none)
mode: both
base:
# Location of temporary files (downloaded AEM packages, etc)
tmp_dir: "{{ aem_tmp_dir }}"
# Location of supportive tools (downloaded Java, OakRun, unpacked AEM SDK)
tool_dir: "{{ aem_tool_dir }}"