key="{{ lookup('file', 'id_rsa_ansible.pub') }}"
How do I do that on the command line ?
I expect something like this
$ ansible all -m authorized_key -a "user=root key=xxx" --ask-pass
What should I put at the 'xxx' ? Hi, in this invocation you need to supply key itself to 'key' parameter.
David
--
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/f41af6ba-2cab-4551-a224-66c79e4c04d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.