mirror of https://github.com/ansible/ansible.git
user module: return public SSH key
Return public SSH key if the user module is called with generate_ssh_key=yes. Since "user" doesn't overwrite files, this also allows querying of existing public keys. Used in playbooks together with the "register" keyword, the returned key can be passed to the "authorized_key" module allowing easy setup of SSH public key authentication between remote hosts.reviewable/pr18780/r1
parent
f07ac2be6e
commit
7d3af457b5
Loading…
Reference in New Issue