File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
deployments/ansible/roles/collector/tasks Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
name : " libcap"
7
7
state : present
8
8
update_cache : yes
9
- when : not install_local_artifact
10
9
11
10
- name : Add Splunk OpenTelemetry Collector repo to yum source list
12
11
ansible.builtin.yum_repository :
16
15
gpgkey : " {{ splunk_repo_base_url }}/otel-collector-rpm/splunk-B3CD4420.pub"
17
16
gpgcheck : yes
18
17
enabled : yes
19
- when : not (splunk_skip_repo | bool) and not install_local_artifact
18
+ when : not (splunk_skip_repo | bool)
20
19
21
20
- name : Install Splunk OpenTelemetry Collector via yum package manager
22
21
ansible.builtin.yum :
Original file line number Diff line number Diff line change 6
6
name : " libcap-progs"
7
7
state : present
8
8
update_cache : yes
9
- when : not install_local_artifact
10
9
11
10
- name : Import the Splunk GPG key
12
11
ansible.builtin.rpm_key :
13
12
state : present
14
13
key : " {{ splunk_repo_base_url }}/otel-collector-rpm/splunk-B3CD4420.pub"
15
- when : not (splunk_skip_repo | bool) and not install_local_artifact
14
+ when : not (splunk_skip_repo | bool)
16
15
17
16
- name : Add Splunk OpenTelemetry Collector repo to zypper source list
18
17
ansible.builtin.template :
19
18
src : collector-zypper.repo.j2
20
19
dest : /etc/zypp/repos.d/splunk-otel-collector.repo
21
- when : not (splunk_skip_repo | bool) and not install_local_artifact
20
+ when : not (splunk_skip_repo | bool)
22
21
23
22
- name : Install Splunk OpenTelemetry Collector via zypper package manager
24
23
community.general.zypper :
You can’t perform that action at this time.
0 commit comments