Skip to content

Commit

Permalink
Fix the import of RVM GPG keys
Browse files Browse the repository at this point in the history
This was consistently failing on our CI with Ubuntu 22.04 and Ubuntu
24.04 since a few weeks ago, for unknown reasons (it used to work fine
most of the time).
  • Loading branch information
javierm committed Oct 4, 2024
1 parent 422783a commit 15033dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy/rvm.ruby/tasks/rvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
check_mode: False
with_items: '{{ rvm1_gpg_key_servers }}'
register: gpg_import
when: not ansible_check_mode and rvm1_gpg_keys != '' and (gpg_import is not defined or gpg_import.rc != 0)
when: not ansible_check_mode and rvm1_gpg_keys != '' and (gpg_import is not defined or (gpg_import.rc is defined and gpg_import.rc != 0))
ignore_errors: True

- name: Was GPG import from keyservers succesfull?
Expand Down

0 comments on commit 15033dc

Please sign in to comment.