Sublime Text: Removes outdated repository (Arch Linux)

This commit is contained in:
Jan Beilicke 2021-06-30 21:57:27 +02:00
parent 114f8c5060
commit 3cd37dfbdd

View file

@ -1,19 +1,13 @@
--- ---
- name: Install Sublime Text (on Archlinux) - name: Install Sublime Text (on Archlinux)
block: block:
- name: Add key for Sublime Text repo - name: Remove outdated repository for Sublime Text
shell:
cmd: |
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && \
sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && \
rm sublimehq-pub.gpg
- name: Add repository for Sublime Text
blockinfile: blockinfile:
path: /etc/pacman.conf path: /etc/pacman.conf
block: | block: |
[sublime-text] [sublime-text]
Server = https://download.sublimetext.com/arch/dev/x86_64 Server = https://download.sublimetext.com/arch/dev/x86_64
state: absent
- name: Install Sublime Text - name: Install Sublime Text
pacman: pacman: