Commit 2718ab97 authored by julian.gethmann's avatar julian.gethmann Committed by julian.gethmann

Fix issue 85 Opera lib on Fedora 31

* The last workaround did not work, because of wrong permission
* It's still a workaround, but a tested one
parent ac48c855
......@@ -11,7 +11,7 @@
src: /mnt/las-archiv1/system/Opera/18/Opera_RHEL7.tar.bz
dest: /tmp
remote_src: yes
when: stat_result.stat.exists == False
when: not stat_result.stat.exists
- name: unzip Opera
become: yes
......@@ -50,16 +50,20 @@
- { dest: 'libicui18n.so.50', src: 'libicui18n.so.50.1.2' }
- { dest: 'libicuuc.so.50', src: 'libicuuc.so.50.1.2' }
- { dest: 'libicudata.so.50', src: 'libicudata.so.50.1.2' }
- { src: 'libhwloc.so.5.7.5', dest: 'libhwloc.so.5.7.5' }
when: (ansible_distribution == "Fedora" and (ansible_distribution_major_version|int) >= 22)
- name: Link missing/too new libs on Fedora 31
- name: Copy missing/too new libs on Fedora 31
become: yes
file:
src: "/usr/lib64/{{ item.src }}"
copy:
src: "{{ opera_path }}/CentOS7libs/{{ item.src }}"
dest: "/usr/lib64/{{ item.dest }}"
state: link
remote_src: yes
mode: 0755
owner: root
group: root
with_items:
- { src: 'libhwloc.so.15', dest: 'libhwloc.so.5' }
- { src: 'libhwloc.so.5.7.5', dest: 'libhwloc.so.5' }
when: (ansible_distribution == "Fedora" and (ansible_distribution_major_version|int) == 31)
- name: make CentOS7 libs available
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment