fix: re-download/re-apply gpg key each time

This commit is contained in:
VC
2024-07-05 11:53:31 +02:00
parent d6f6e72373
commit 4b4b6dd7f1
2 changed files with 4 additions and 6 deletions

View File

@@ -4,11 +4,10 @@
get_url:
url: "{{ mastodon_nodejs_key_url }}"
dest: /tmp/nodesource.gpg.key
force: true
- name: gpg dearmor key
shell: "gpg --dearmor -o {{ mastodon_nodejs_key_path }} /tmp/nodesource.gpg.key"
args:
creates: "{{ mastodon_nodejs_key_path }}"
shell: "gpg --dearmor --yes -o {{ mastodon_nodejs_key_path }} /tmp/nodesource.gpg.key"
- name: node source repo
copy:

View File

@@ -4,11 +4,10 @@
get_url:
url: "{{ mastodon_yarn_key_url }}"
dest: /tmp/yarn.gpg.key
force: true
- name: gpg dearmor key
shell: "gpg --dearmor -o {{ mastodon_yarn_key_path }} /tmp/yarn.gpg.key"
args:
creates: "{{ mastodon_yarn_key_path }}"
shell: "gpg --dearmor --yes -o {{ mastodon_yarn_key_path }} /tmp/yarn.gpg.key"
- name: yarn source repo
copy: