Skip to content
Snippets Groups Projects
Commit 3272180f authored by nimrod's avatar nimrod
Browse files

- Install Skype using Flatpak.

parent fe839cf2
No related branches found
No related tags found
No related merge requests found
...@@ -10,3 +10,4 @@ __pycache__ ...@@ -10,3 +10,4 @@ __pycache__
.vagrant/ .vagrant/
*.log *.log
*.retry *.retry
skype.flatpakref
...@@ -9,39 +9,18 @@ ...@@ -9,39 +9,18 @@
- ansible_architecture in [ 'x86_64', 'x86' ] - ansible_architecture in [ 'x86_64', 'x86' ]
- ansible_pkg_mgr == 'apt' - ansible_pkg_mgr == 'apt'
- name: Add i386 architecture to dpkg - name: APT install Flatpak
command: /usr/bin/dpkg --add-architecture i386
changed_when: False
- name: APT install dependencies
with_items:
- libc6:i386
- libqt4-dbus:i386
- libqt4-network:i386
- libqt4-xml:i386
- libqtcore4:i386
- libqtgui4:i386
- libqtwebkit4:i386
- libstdc++6:i386
- libx11-6:i386
- libxext6:i386
- libxss1:i386
- libxv1:i386
- libssl1.0.0:i386
- libpulse0:i386
- libasound2-plugins:i386
apt: apt:
name: '{{ item }}' name: flatpak
state: present state: present
update_cache: yes update_cache: yes
cache_valid_time: 3600 cache_valid_time: 3600
- name: Get Skype Debian package - name: Install
get_url: become: False
src: http://www.skype.com/go/getskype-linux-deb command: |
dest: /root/skype.deb flatpak install --user --from https://s3.amazonaws.com/alexlarsson/skype-repo/skype.flatpakref
register: skype_flatpak_install
- name: Install Skype Debian package changed_when: |
apt: 'Installing' in skype_flatpak_install.stdout
deb: /root/skype.deb failed_when: skype_flatpak_install.rc|int > 0 and 'already installed' not in skype_flatpak_install.stderr
state: present
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment