File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
ansible/roles/openondemand/tasks Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 10
10
yum :
11
11
name : epel-release
12
12
13
+ - name : Check /etc/init.d
14
+ ansible.builtin.stat :
15
+ path : /etc/init.d
16
+ register : init_d
17
+
18
+ - name : Move OFED-installed init scripts
19
+ # turbovnc installs chkconfig which symlinks /etc/init.d from /etc/rc.d/init.d
20
+ # but OFED has already created that and installed files in it.
21
+ # See https://access.redhat.com/solutions/6969215
22
+ ansible.builtin.command :
23
+ cmd : mv /etc/init.d /etc/init.d.orig
24
+ creates : /etc/init.d.orig
25
+ when :
26
+ - init_d.stat.exists
27
+ - not init_d.stat.islnk
28
+
13
29
- name : Install VNC-related packages
14
30
tags : install
15
31
dnf :
19
35
- python3.9
20
36
- dbus-x11
21
37
38
+ - name : Replace OFED-installed init scripts
39
+ ansible.builtin.copy :
40
+ src : /etc/init.d.orig/ # trailing / to get contents
41
+ dest : /etc/init.d
42
+ when :
43
+ - init_d.stat.exists
44
+ - not init_d.stat.islnk
45
+
22
46
- name : Install Xfce desktop
23
47
tags : install
24
48
yum :
You can’t perform that action at this time.
0 commit comments