--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f33e8a28-d3e1-45c3-95c5-613e5140b35c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Using with_file
- name: Set up authorized_keys for the deploy user
authorized_key: user=deploy
key="{{ item }}"
with_file:
- public_keys/doe-jane
- public_keys/doe-johnSo in that case if the key file is not found, shouldn't it also produce an error?
Doesn't that mean that authorized_key itself should check that it has a file and not only the lookup plugin?
--
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEVJ8QOJH%3DA06QYjEgFc6bKBEmzBKTMQJBQWytVBYvWVE1yjVQ%40mail.gmail.com.