Ansible generate SSH Key

  - name: generate ssh key for a user
    user:
      name: ruz   
      generate_ssh_key: yes
      #ssh_key_bits: 2048
      #ssh_key_file: .ssh/id_rsa

Comments