First: Detailed ssh configuration file
Second: ssh public key generation
Third: One of ssh public key distribution: ssh comes with tool ssh-copy-id tool distribution
Fourth: ssh public key distribution 2: write sshpass scripts for batch distribution
Fifth: ssh public key distribution third: batch distribution using ansible's own module