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 1212
1313- name : Install VNC-related packages
1414 tags : install
15- yum :
15+ dnf :
1616 name :
1717 - turbovnc-3.0.1
1818 - nmap-ncat
19- - python3
19+ - python3.9
2020
2121- name : Install Xfce desktop
2222 tags : install
2323 yum :
2424 name : ' @Xfce'
2525
26+ # - name: Ensure python3.9 installed
27+ # dnf:
28+ # name: python39
29+ # tags: install
30+
2631- name : Install websockify venv
2732 # Requires separate step so that the upgraded pip is used to install packages
2833 pip :
2934 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
3238 tags : install
3339
3440- name : Install websockify package in venv
3541 pip :
3642 name : websockify
37- virtualenv : /opt/websockify
43+ virtualenv : /opt/websockify-py39
3844 virtualenv_command : python3 -m venv
3945 tags : install
4046
4147- 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
4755- name : Disable screensaver # as users might not have passwords
4856 yum :
4957 name : xfce4-screensaver
You can’t perform that action at this time.
0 commit comments