Skip to content

Commit

Permalink
Merge pull request #20 from aairey/patch-1
Browse files Browse the repository at this point in the history
fix(nodejs-plugin): Integrity checking removed
  • Loading branch information
merifri committed Jul 13, 2022
2 parents 06d323d + 09421af commit 51a42a8
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions tasks/plugins/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,3 @@
until: yum_nodejs_result is succeeded
become: True
when: ansible_os_family == "RedHat"

- name: "set vars"
set_fact:
asdf_nodejs_keyring: "{{ asdf_dir }}/keyrings/nodejs"

- name: Check if Node.js keys need to be imported
stat:
path: "{{ asdf_dir }}/plugins/nodejs/bin/import-release-team-keyring"
register: import_keyring_binary

- name: "create keyring for Node.js keys"
file:
path: "{{ asdf_nodejs_keyring }}"
state: directory
owner: "{{ asdf_user }}"
group: "{{ asdf_group }}"
mode: 0700
become: True
become_user: "{{ asdf_user }}"
when: import_keyring_binary.stat.exists

- name: "import Node.js keys to keyring"
command: "bash -lc '{{ asdf_dir }}/plugins/nodejs/bin/import-release-team-keyring'"
args:
creates: "{{ asdf_nodejs_keyring }}/pubring.gpg"
environment:
GNUPGHOME: "{{ asdf_nodejs_keyring }}"
become: True
become_user: "{{ asdf_user }}"
when: import_keyring_binary.stat.exists

0 comments on commit 51a42a8

Please sign in to comment.