style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent 574982340e
commit 4f57cd79ee
16 changed files with 208 additions and 180 deletions

View File

@@ -1,21 +1,25 @@
---
- name: get yarn gpg url
get_url:
- name: Get yarn gpg url
ansible.builtin.get_url:
url: "{{ mastodon_yarn_key_url }}"
dest: /tmp/yarn.gpg.key
mode: 0644
force: true
- name: gpg dearmor key
shell: "gpg --dearmor --yes -o {{ mastodon_yarn_key_path }} /tmp/yarn.gpg.key"
- name: Gpg dearmor key
ansible.builtin.command:
cmd: "gpg --dearmor --yes -o {{ mastodon_yarn_key_path }} /tmp/yarn.gpg.key"
changed_when: true
- name: yarn source repo
copy:
- name: Yarn source repo
ansible.builtin.copy:
content: "deb [signed-by={{ mastodon_yarn_key_path }}] https://dl.yarnpkg.com/debian stable main"
dest: /etc/apt/sources.list.d/yarn.list
mode: 0644
- name: install yarn
apt:
- name: Install yarn
ansible.builtin.apt:
name: yarn
state: present
update_cache: true