-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip downlaoding the gpg if it's already trusted #58
Comments
I'm having a lot of reliability issues with the key server which is making deploys less fun:
I can work on this tomorrow. |
Do you have an idea to do that? |
Thank you. I lost track of it. I did this at my code: - name: Check imported GPG keys
command: 'gpg --no-tty --list-keys {{ item }}'
changed_when: False
check_mode: False
when: not ansible_check_mode
register: gpg_result
retries: 5
delay: 5
ignore_errors: True
with_items: '{{ rvm1_gpg_keys }}'
- name: Import GPG keys
command: 'gpg --no-tty --keyserver {{ rvm1_gpg_key_server }} --recv-keys {{ item.item }}'
when: not ansible_check_mode and item.rc != 0
with_items: '{{ gpg_result.results }}' For this the |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This saves on a network round trip (which increases reliability)
The text was updated successfully, but these errors were encountered: