Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Opera mounting only on one host issue
parent
0bc7c099
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
21 deletions
+3
-21
roles/opera/tasks/main.yml
roles/opera/tasks/main.yml
+1
-0
roles/opera/tasks/opera.yml
roles/opera/tasks/opera.yml
+2
-21
No files found.
roles/opera/tasks/main.yml
View file @
3147d5e3
---
---
-
import_tasks
:
opera.yml
-
import_tasks
:
opera.yml
when
:
ansible_distribution == "Fedora"
roles/opera/tasks/opera.yml
View file @
3147d5e3
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
-
name
:
unzip Opera
-
name
:
unzip Opera
become
:
yes
become
:
yes
unarchive
:
unarchive
:
# src: /mnt/las-archiv1/system/Opera/18/Opera_RHEL7.tar.bz
src
:
/tmp/Opera_RHEL7.tar.bz
src
:
/tmp/Opera_RHEL7.tar.bz
dest
:
/usr/local/share/
dest
:
/usr/local/share/
creates
:
"
{{
opera_path
}}/code/bin/opera_manager"
creates
:
"
{{
opera_path
}}/code/bin/opera_manager"
...
@@ -36,26 +35,6 @@
...
@@ -36,26 +35,6 @@
-
'
xcb-util-renderutil'
-
'
xcb-util-renderutil'
-
'
xterm'
-
'
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
# Work around for Fedora 25 vs. CentOS 7
-
name
:
create dir for CentOS 7 libs
-
name
:
create dir for CentOS 7 libs
become
:
yes
become
:
yes
...
@@ -66,9 +45,11 @@
...
@@ -66,9 +45,11 @@
-
name
:
copy libraries from real CentOS 7 host (server)
-
name
:
copy libraries from real CentOS 7 host (server)
become
:
yes
become
:
yes
become_user
:
gethmann
# see above
copy
:
copy
:
src
:
"
/mnt/las-archiv1/system/Opera/18/CentOS7libs/{{
item.src
}}"
src
:
"
/mnt/las-archiv1/system/Opera/18/CentOS7libs/{{
item.src
}}"
dest
:
"
{{
opera_path
}}/CentOS7libs/{{
item.dest
}}"
dest
:
"
{{
opera_path
}}/CentOS7libs/{{
item.dest
}}"
remote_src
:
True
with_items
:
with_items
:
-
{
dest
:
'
libicui18n.so.50'
,
src
:
'
libicui18n.so.50.1.2'
}
-
{
dest
:
'
libicui18n.so.50'
,
src
:
'
libicui18n.so.50.1.2'
}
-
{
dest
:
'
libicuuc.so.50'
,
src
:
'
libicuuc.so.50.1.2'
}
-
{
dest
:
'
libicuuc.so.50'
,
src
:
'
libicuuc.so.50.1.2'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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