File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
molecule/with_instrumentation Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
splunk_access_token : fake-token
8
8
splunk_realm : fake-realm
9
9
install_splunk_otel_auto_instrumentation : true
10
- splunk_otel_auto_instrumentation_version : 0.50 .0
10
+ splunk_otel_auto_instrumentation_version : 0.126 .0
11
11
splunk_otel_auto_instrumentation_resource_attributes : deployment.environment=test
12
12
splunk_otel_auto_instrumentation_service_name : test
13
13
splunk_otel_auto_instrumentation_generate_service_name : false
Original file line number Diff line number Diff line change 15
15
16
16
- name : Assert specified version of splunk-otel-auto-instrumentation is installed
17
17
assert :
18
- that : ansible_facts.packages['splunk-otel-auto-instrumentation'][0].version == '0.50 .0'
18
+ that : ansible_facts.packages['splunk-otel-auto-instrumentation'][0].version == '0.126 .0'
19
19
20
20
- name : Check for the new config files
21
21
ansible.builtin.stat :
26
26
- /etc/splunk/zeroconfig/dotnet.conf
27
27
register : new_config_files
28
28
29
- - name : Assert the new config files do not exist
29
+ - name : Assert the new config files exist
30
30
assert :
31
- that : not item.stat.exists
31
+ that : item.stat.exists
32
32
loop : " {{ new_config_files.results }}"
33
33
34
34
- name : Check for systemd drop-in file
60
60
61
61
- name : Assert instrumentation config contains resource attribute
62
62
ansible.builtin.lineinfile :
63
- line : resource_attributes=splunk.zc.method=splunk-otel-auto-instrumentation-0.50 .0,deployment.environment=test
63
+ line : resource_attributes=splunk.zc.method=splunk-otel-auto-instrumentation-0.126 .0,deployment.environment=test
64
64
dest : /usr/lib/splunk-instrumentation/instrumentation.conf
65
65
state : present
66
66
check_mode : yes
Original file line number Diff line number Diff line change 33
33
and auto_instrumentation_version is version('0.87.0', '>=') }}"
34
34
with_dotnet : " {{ 'dotnet' in (splunk_otel_auto_instrumentation_sdks | default([])) \
35
35
and auto_instrumentation_version is version('0.99.0', '>=') \
36
- and ansible_architecture in ('x86_64', 'amd64') }}"
36
+ and ansible_architecture in ('x86_64', 'amd64', 'aarch64' ) }}"
37
37
38
38
- name : Check for npm
39
39
shell : npm --version
You can’t perform that action at this time.
0 commit comments