File tree Expand file tree Collapse file tree 4 files changed +23
-13
lines changed
ansible/roles/openondemand/tasks
common/inventory/group_vars/all Expand file tree Collapse file tree 4 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 12
12
13
13
- name : Install VNC-related packages
14
14
tags : install
15
- yum :
15
+ dnf :
16
16
name :
17
17
- turbovnc-3.0.1
18
18
- nmap-ncat
19
- - python3
19
+ - python3.9
20
20
21
21
- name : Install Xfce desktop
22
22
tags : install
23
23
yum :
24
24
name : ' @Xfce'
25
25
26
+ # - name: Ensure python3.9 installed
27
+ # dnf:
28
+ # name: python39
29
+ # tags: install
30
+
26
31
- name : Install websockify venv
27
32
# Requires separate step so that the upgraded pip is used to install packages
28
33
pip :
29
34
name : pip
30
- virtualenv : /opt/websockify
31
- virtualenv_command : python3 -m venv
35
+ state : latest
36
+ virtualenv : /opt/websockify-py39
37
+ virtualenv_command : python3.9 -m venv
32
38
tags : install
33
39
34
40
- name : Install websockify package in venv
35
41
pip :
36
42
name : websockify
37
- virtualenv : /opt/websockify
43
+ virtualenv : /opt/websockify-py39
38
44
virtualenv_command : python3 -m venv
39
45
tags : install
40
46
41
47
- name : Symlink websockify to where Open Ondemand expects
42
- file :
43
- src : /opt/websockify/bin/websockify
44
- dest : /opt/websockify/run
45
- state : link
46
-
48
+ file : " {{ item }}"
49
+ loop :
50
+ - path : /opt/websockify
51
+ state : directory
52
+ - src : /opt/websockify-py39/bin/websockify
53
+ dest : /opt/websockify/run
54
+ state : link
47
55
- name : Disable screensaver # as users might not have passwords
48
56
yum :
49
57
name : xfce4-screensaver
Original file line number Diff line number Diff line change 1
1
flavor = " vm.ska.cpu.general.small"
2
- networks = [" a262aabd-e6bf-4440-a155-13dbc1b5db0e" ] # WCDC-iLab-60
2
+ use_blockstorage_volume = true
3
+ volume_size = 10 # GB
4
+ image_disk_format = " qcow2"
5
+ networks = [" 4b6b2722-ee5b-40ec-8e52-a6610e14cc51" ] # portal-internal (DNS broken on ilab-60)
3
6
source_image_name = " openhpc-230804-1754-80b8d714" # https://github.com/stackhpc/ansible-slurm-appliance/pull/298
4
7
fatimage_source_image_name = " Rocky-8-GenericCloud-8.6.20220702.0.x86_64.qcow2"
5
8
ssh_keypair_name = " slurm-app-ci"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ variable "cluster_name" {
13
13
variable "cluster_image" {
14
14
description = " single image for all cluster nodes - a convenience for CI"
15
15
type = string
16
- default = " openhpc-230811-1548-a49164d1 " # https://github.com/stackhpc/ansible-slurm-appliance/pull/301
16
+ default = " openhpc-230922-0940-434e190f " # https://github.com/stackhpc/ansible-slurm-appliance/pull/313
17
17
# default = "Rocky-8-GenericCloud-Base-8.7-20221130.0.x86_64.qcow2"
18
18
# default = "Rocky-8-GenericCloud-8.6.20220702.0.x86_64.qcow2"
19
19
}
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ appliances_local_users_default:
48
48
shell : /sbin/nologin
49
49
uid : 202
50
50
system : true
51
- enable : " {{ 'control' in group_names }}"
52
51
53
52
- group :
54
53
name : prometheus
You can’t perform that action at this time.
0 commit comments