Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
3147d5e3
Commit
3147d5e3
authored
Oct 04, 2017
by
julian.gethmann
Browse files
Fix Opera mounting only on one host issue
parent
0bc7c099
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/opera/tasks/main.yml
View file @
3147d5e3
---
-
import_tasks
:
opera.yml
when
:
ansible_distribution == "Fedora"
roles/opera/tasks/opera.yml
View file @
3147d5e3
...
...
@@ -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'
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment