Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
36
Issues
36
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
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
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
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