Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Fix GPG key importation #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ageis
Copy link
Contributor

@ageis ageis commented May 21, 2019

A file lookup returns a list, so you need to pipe it to the 'first' filter or select index 0.

Alternatively, another way to rewrite the task is as follows:

  shell: "cat {{ role_path + '/files/' + item.fingerprint }}.pub | gpg --import"

A file lookup returns a list, so you need to pipe it to the 'first' filter or
select index 0.

Alternatively, another way to rewrite the task is as follows:

  shell: "cat {{ role_path + '/files/' + item.fingerprint }}.pub | gpg --import"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant