🔥: remove yarn completely
All checks were successful
ansible-lint / lint-everything (push) Successful in 2m41s

This commit is contained in:
VC
2025-12-10 09:27:06 +01:00
parent 4b7ef2390d
commit 2896e5254b
2 changed files with 0 additions and 29 deletions

View File

@@ -1,25 +0,0 @@
---
- name: Get yarn gpg url
ansible.builtin.get_url:
url: "{{ yarn_key_url }}"
dest: /tmp/yarn.gpg.key
mode: "0o644"
force: true
- name: Dearmor gpg key
ansible.builtin.command:
cmd: "gpg --dearmor --yes -o {{ yarn_key_path }} /tmp/yarn.gpg.key"
changed_when: true
- name: Set yarn source repo
ansible.builtin.copy:
content: "deb [signed-by={{ yarn_key_path }}] https://dl.yarnpkg.com/debian stable main"
dest: /etc/apt/sources.list.d/yarn.list
mode: "0o644"
- name: Install yarn
ansible.builtin.package:
name: yarn
state: present
update_cache: true

View File

@@ -1,4 +0,0 @@
---
yarn_key_url: "https://dl.yarnpkg.com/debian/pubkey.gpg"
yarn_key_path: "/usr/share/keyrings/yarnkey.gpg"