PassPhrase for Private key for ansible

If my private key has a passphrase how can I put in inventory file? and it should be autonomous, not interactive.

use paramiko and pass passphrase as you would an ssh password, paramiko itself will use any ssh password as a passphrase

1 Like