-
Notifications
You must be signed in to change notification settings - Fork 9
/
all.yml
54 lines (47 loc) · 2.12 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
# get this URL from the download page's "Got wget?" command
# or any accessible location that hosts the splunk .tgz
# including file:// locations
# 7.3.4 included here as an example
splunk_version: 7.3.4
splunk_build: 13e97039fb65
splunk_tgz_url: |-
"https://www.splunk.com/page/download_track?file={{ splunk_version }}/linux/splunk-{{ splunk_version }}-{{ splunk_build }}-Linux-x86_64.tgz&ac=&wget=true&name=wget&platform=Linux&architecture=x86_64&version={{ splunk_version }}&product=splunk&typed=release"
# add docker labels for os and splunk version
common_docker_labels:
- name: com.splunk.version
value: "{{ splunk_version }}"
- name: com.splunk.build-id
value: "{{ splunk_build }}"
# set the splunk admin user/password for user-seed.conf
splunk_admin_user: admin
splunk_admin_password: pleasechangeme
# you could use splunk_admin_password_hash for a pre-hashed password
# splunk_admin_password_hash = <your password hash>
# specify a license master, but just a dummy here
license_master_uri: https://lm.example.org:8089
# specify a pass4SymmKey for the License Master
pass4SymmKey: pleasechangeme
# if you need to escalate privilege to a different user to perform docker operations, specify it here
# docker_become_user:
# in our pretend environment, these items are common
common_stage_items:
- type: copy
src: "{{ inventory_dir }}/files/docker_forwarder_outputs"
# stage_items dest points to a staging_path
dest: splunk
# because dest is, effectively, /opt/splunk, have this directory copied to a subdirectory
dest_sub_path: etc/apps/docker_forwarder_outputs
# but only when building the primary (not standalone) build
condition: "{{ build_vars.primary_build }}"
# common swarm service limits
limit_cpu: 1
limit_memory: 2G
restart_policy: any
# hostname and path to the registry. this should include only any path components that are general to the registry,
# and not any that are specific to where your image will be stored on that registry
#registry:
# log in to the registry with these credentials
#registry_username:
#registry_password:
# path on the registry to our repository (optional)
#repository_path: