File tree Expand file tree Collapse file tree 1 file changed +18
-10
lines changed
ansible/roles/openondemand/tasks Expand file tree Collapse file tree 1 file changed +18
-10
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
You can’t perform that action at this time.
0 commit comments