Skip to content

Commit a27005c

Browse files
committed
List correct distribution and distribution version in online documentation.
1 parent 21f81dc commit a27005c

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

roles/online_docs/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
external_hrefs:
33
pulp: 'https://pulpproject.org/'
4+
Rocky: 'https://rockylinux.org/'
5+
CentOS: 'https://www.centos.org/'
46
known_hosts_hostnames: "\
57
{% for jumphost in groups['jumphost'] %}\
68
{{ jumphost }}*,\

roles/online_docs/templates/mkdocs/docs/cluster.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ The jobs are submitted to a workload manager, which distributes them efficiently
1010

1111
The key features of the {{ slurm_cluster_name | capitalize }} cluster include:
1212

13-
* Linux OS: [CentOS](https://www.centos.org/) 7.x
13+
* Linux OS: [{{ hostvars[groups['user_interface'][0]]['ansible_distribution'] }}]({{ external_hrefs[hostvars[groups['user_interface'][0]]['ansible_distribution']] }})
14+
version {{ hostvars[groups['user_interface'][0]]['ansible_distribution_version'] }}
1415
{% if repo_manager | default('none') != 'none' %}with [{{ repo_manager | capitalize }}]({{ external_hrefs[repo_manager] }}) for package distribution/management{% endif %}.
1516
* Completely virtualised on an [OpenStack](https://www.openstack.org/) cloud.
1617
* Deployment of HPC cluster with [Ansible playbooks](https://docs.ansible.com/ansible/latest/index.html) under version control in a Git repo: [league-of-robots](https://github.com/rug-cit-hpc/league-of-robots)

roles/online_docs/templates/mkdocs/docs/specifications.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
Key ingredients of the High Performance Computing (HPC) environment of the {{ slurm_cluster_name | capitalize }} cluster
77

8-
* Linux OS: [CentOS](https://www.centos.org/) {{ hostvars[groups['user_interface'][0]]['ansible_distribution_version'] }}
8+
* Linux OS: [{{ hostvars[groups['user_interface'][0]]['ansible_distribution'] }}]({{ external_hrefs[hostvars[groups['user_interface'][0]]['ansible_distribution']] }})
9+
version {{ hostvars[groups['user_interface'][0]]['ansible_distribution_version'] }}
910
{% if repo_manager | default('none') != 'none' %}with [{{ repo_manager | capitalize }}]({{ external_hrefs[repo_manager] }}) for package distribution/management{% endif %}.
1011
* Job scheduling: [Slurm Workload Manager](https://slurm.schedmd.com/) {{ slurm_version.stdout }}
1112
* Module system: [Lmod](https://github.com/TACC/Lmod) {{ lmod_version.stdout }}

0 commit comments

Comments
 (0)