how about copying public key from another host to authorized_keys on the server? is there a module? or need ad hoc command
On Tue, Jun 28, 2022 at 8:04 AM Vladimir Botka <[email protected]> wrote: > On Tue, 28 Jun 2022 06:46:20 -0700 (PDT) > Tony Wong <[email protected]> wrote: > > > is there a module to run ssh-keygen on remote hosts? > > Yes. Module *user* is able to generate a SSH key. See > > https://docs.ansible.com/ansible/latest/collections/ansible/builtin/user_module.html#parameter-generate_ssh_key > > > -- > Vladimir Botka > -- 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/CALmkhko_5ErQG9q5TGZE84midtkCN1Dqbk3%3D6zSPRhJoMF-yPA%40mail.gmail.com.
