1. 
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/file_lookup.html
2. 
https://docs.ansible.com/ansible/latest/collections/ansible/posix/authorized_key_module.html

On Wed, 20 Jul 2022 at 15:24, Tony Wong <[email protected]> wrote:
>
> how do I lookup id_rsa.pub on a host and then run ansible playbook to copy it 
> to their authorized_key file?
>
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/2994746b-812f-4038-ad58-27d5b0c47been%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLa4mk8Ukdg7EgCfMvBkfwwdbPbehFaafLS6ytc%2Btz_0zA%40mail.gmail.com.

Reply via email to