File tree Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,13 @@ dnf_repos_filenames:
8
8
appstream : ' Rocky-AppStream'
9
9
crb : ' Rocky-PowerTools'
10
10
extras : ' Rocky-Extras'
11
+ grafana : ' grafana'
11
12
' 9 ' :
12
13
baseos : ' rocky'
13
14
appstream : ' rocky'
14
15
crb : ' rocky'
15
16
extras : ' rocky-extras'
17
+ grafana : ' grafana'
16
18
17
19
dnf_repos_version_filenames : " {{ dnf_repos_filenames[ansible_distribution_major_version] }}"
18
20
@@ -33,6 +35,9 @@ dnf_repos_default_repolist:
33
35
- file : ceph
34
36
name : Ceph
35
37
base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.ceph[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
38
+ - file : " {{ dnf_repos_version_filenames.grafana }}"
39
+ name : grafana
40
+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.grafana[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
36
41
37
42
dnf_repos_openhpc_repolist :
38
43
- name : OpenHPC
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ pulp_site_rpm_info:
28
28
subpath : " {{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
29
29
- name : " ceph-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major].timestamp }}"
30
30
subpath : " {{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
31
+ - name : " grafana-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.grafana.timestamp[pulp_site_target_distribution_version_major].timestamp }}
32
+ subpath: " {{ appliances_pulp_repos.grafana[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
31
33
32
34
pulp_site_rpm_repo_defaults :
33
35
remote_username : " {{ pulp_site_upstream_username }}"
Original file line number Diff line number Diff line change
1
+ {{ ansible_managed | comment }}
2
+ [grafana]
3
+ baseurl = {{ appliances_pulp_url }}/pulp/content/{{ appliances_pulp_repos.grafana[ansible_distribution_major_version] | appliances_repo_to_subpath }}
4
+ name = grafana
5
+ async = 1
6
+ gpgcheck = 0
7
+ password = {{ dnf_repos_password }}
8
+ username = {{ dnf_repos_username }}
Original file line number Diff line number Diff line change @@ -108,3 +108,6 @@ _grafana_auth_anon_cfg:
108
108
org_role : Viewer
109
109
grafana_auth : " {{ _grafana_auth_anon_cfg if grafana_auth_anonymous | bool else {} }}"
110
110
_grafana_auth_is_anonymous : " {{ grafana_auth.anonymous | default({}) | length > 0 }}"
111
+
112
+ # use ark or pulp for grafana as upstream packages disappear:
113
+ grafana_yum_repo_template : " {{ appliances_repository_root }}/environments/common/files/grafana/grafana.repo.j2"
Original file line number Diff line number Diff line change @@ -67,3 +67,10 @@ appliances_pulp_repos:
67
67
' 9 ' :
68
68
path : OpenHPC/3/updates/EL_9
69
69
timestamp : 20241218T154614
70
+ grafana :
71
+ ' 8 ' :
72
+ path : grafana/oss/rpm
73
+ timestamp : 20250425T003248
74
+ ' 9 ' :
75
+ path : grafana/oss/rpm
76
+ timestamp : 20250425T003248
You can’t perform that action at this time.
0 commit comments