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)
block:
- name: Add key for Sublime Text repo
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
- name: Remove outdated repository for Sublime Text
blockinfile:
path: /etc/pacman.conf
block: |
[sublime-text]
Server = https://download.sublimetext.com/arch/dev/x86_64
state: absent
- name: Install Sublime Text
pacman: