File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
deployments/ansible/molecule/with_instrumentation Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
splunk_access_token : fake-token
7
7
splunk_realm : fake-realm
8
8
install_splunk_otel_auto_instrumentation : true
9
- splunk_otel_auto_instrumentation_version : latest
9
+ splunk_otel_auto_instrumentation_version : 0.126.0
10
10
splunk_otel_auto_instrumentation_resource_attributes : deployment.environment=test
11
11
splunk_otel_auto_instrumentation_service_name : test
12
12
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 == 'latest '
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 :
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-latest ,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
You can’t perform that action at this time.
0 commit comments