On Tuesday, April 15, 2014 5:15:43 PM UTC-4, Michael DeHaan wrote: >If the lookup file is not found, it *should* produce an exception, yes. >If you are seeing this behavior on the development branch, please make sure there is a ticket on github.
ansible 1.6 (devel ae29e43f93) last updated 2014/04/19 14:46:18 (GMT +000) Still has the issue >(To be clear, this has nothing to do with the authorized key module in the end, and everything to do with the lookup plugin) Looking at the documentation at http://docs.ansible.com/authorized_key_module.html there is also an option to use # 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-john So 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? -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/237fc3c2-17c2-4426-b1be-a7f3bd0c156c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
