Skip to content
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

"lookup" function not working for pub keys #28

Open
sloria opened this issue Jun 23, 2014 · 0 comments
Open

"lookup" function not working for pub keys #28

sloria opened this issue Jun 23, 2014 · 0 comments

Comments

@sloria
Copy link
Contributor

sloria commented Jun 23, 2014

For some reason, using the lookup function for public ssh keys doesn't seem to be working.

genericusers_users:
   # ...
  ssh_keys:
     - "{{ lookup('file', 'group_vars/pubkeys/sloria.pub') }}"

When the genericusers role runs, the ssh keys are not copied (the ssh_keys variable appears to be an empty list.

@lyndsysimon is seeing the same thing.

For now, I'm just copying the pubkeys directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant