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:
88 appstream : ' Rocky-AppStream'
99 crb : ' Rocky-PowerTools'
1010 extras : ' Rocky-Extras'
11+ grafana : ' grafana'
1112 ' 9 ' :
1213 baseos : ' rocky'
1314 appstream : ' rocky'
1415 crb : ' rocky'
1516 extras : ' rocky-extras'
17+ grafana : ' grafana'
1618
1719dnf_repos_version_filenames : " {{ dnf_repos_filenames[ansible_distribution_major_version] }}"
1820
@@ -33,6 +35,9 @@ dnf_repos_default_repolist:
3335- file : ceph
3436 name : Ceph
3537 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 }}"
3641
3742dnf_repos_openhpc_repolist :
3843- name : OpenHPC
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ pulp_site_rpm_info:
2828 subpath : " {{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
2929- name : " ceph-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major].timestamp }}"
3030 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 }}"
3133
3234pulp_site_rpm_repo_defaults :
3335 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:
108108 org_role : Viewer
109109grafana_auth : " {{ _grafana_auth_anon_cfg if grafana_auth_anonymous | bool else {} }}"
110110_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:
6767 ' 9 ' :
6868 path : OpenHPC/3/updates/EL_9
6969 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