Commit 9f7013bd authored by julian.gethmann's avatar julian.gethmann

Fix Opera mounting only on one host issue

parent 5daa037d
---
- import_tasks: opera.yml
when: ansible_distribution == "Fedora"
......@@ -16,7 +16,6 @@
- name: unzip Opera
become: yes
unarchive:
# src: /mnt/las-archiv1/system/Opera/18/Opera_RHEL7.tar.bz
src: /tmp/Opera_RHEL7.tar.bz
dest: /usr/local/share/
creates: "{{ opera_path }}/code/bin/opera_manager"
......@@ -36,26 +35,6 @@
- 'xcb-util-renderutil'
- 'xterm'
# Fedora 25 deps
# - name: uninstall libicu
# dnf:
# name: # libicu nicht machbar, da zu viel (inkl. thunderbird, texmaker, texlive-latex-bin, sddm, plasma-breeze, uvm. davon abhängen!
# state: absent
# become: yes
# when: (ansible_distribution == "Fedora" and ansible_distribution_major_version >= "24")
# does not work either
# - name: link too new/missing libraries
# file:
# state: link
# src: "{{ item[1] }}"
# dest: "{{ opera_path }}/bin/{{ item[0] }}"
# become: yes
# with_items:
# - ["libicui18n.so.50", "/usr/lib64/libicui18n.so"]
# - ["libicuuc.so.50", "/usr/lib64/libicuuc.so"]
# - ["libicudata.so.50", "/usr/lib64/libicudata.so"]
# Work around for Fedora 25 vs. CentOS 7
- name: create dir for CentOS 7 libs
become: yes
......@@ -66,9 +45,11 @@
- name: copy libraries from real CentOS 7 host (server)
become: yes
become_user: gethmann # see above
copy:
src: "/mnt/las-archiv1/system/Opera/18/CentOS7libs/{{ item.src }}"
dest: "{{ opera_path }}/CentOS7libs/{{ item.dest }}"
remote_src: True
with_items:
- { dest: 'libicui18n.so.50', src: 'libicui18n.so.50.1.2' }
- { dest: 'libicuuc.so.50', src: 'libicuuc.so.50.1.2' }
......
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