Migrate from Riot snap to Element package

This commit is contained in:
Salt 2020-07-22 08:44:56 -05:00
parent 07cb3bb56a
commit faecef6ee3

View File

@ -8,18 +8,25 @@
dest: /var/lib/dpkg/arch dest: /var/lib/dpkg/arch
line: i386 line: i386
create: yes create: yes
- name: Add repo keys - name: Add repo keys from keyserver
apt_key: apt_key:
keyserver: 'keyserver.ubuntu.com' keyserver: 'keyserver.ubuntu.com'
id: "{{ item }}" id: "{{ item }}"
loop: loop:
- "3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" # Monodevelop - "3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" # Monodevelop
- name: Add repo keys by URL
apt_key:
url: "{{ item }}"
loop:
- "https://packages.riot.im/debian/riot-im-archive-keyring.gpg" # Element
- name: Add repos - name: Add repos
apt_repository: apt_repository:
repo: "{{ item }}" repo: "{{ item }}"
loop: loop:
# Monodevelop # Monodevelop
- "deb https://download.mono-project.com/repo/ubuntu vs-bionic main" - "deb https://download.mono-project.com/repo/ubuntu vs-bionic main"
# Element
- "deb https://packages.riot.im/debian/ default main"
# First-party PPAs # First-party PPAs
- "ppa:phoerious/keepassxc" # KeepassXC - "ppa:phoerious/keepassxc" # KeepassXC
# Third-party PPAs # Third-party PPAs
@ -101,6 +108,7 @@
- clonezilla - clonezilla
- dolphin-emu-master - dolphin-emu-master
- dolphin-plugins - dolphin-plugins
- element-desktop
- filelight - filelight
- filezilla - filezilla
- firefox - firefox
@ -171,7 +179,6 @@
name: name:
- discord - discord
- pixelorama - pixelorama
- riot-web
- scrcpy # Remote Android viewing - scrcpy # Remote Android viewing
- spotify # Forgive me father - spotify # Forgive me father
- name: Install Snap applications classically - name: Install Snap applications classically
@ -180,6 +187,11 @@
name: "{{ item }}" name: "{{ item }}"
loop: loop:
- slack - slack
- name: Remove Snap applications
snap:
name:
- riot-web
state: absent
- name: Remove desktop applications through APT - name: Remove desktop applications through APT
apt: apt:
name: name: