Struggling to get private key credentials working

I’m new to AWX and have reached a point where I’m trying to run some test jobs on my test host.

I’ve created my inventory containing 1 host and have created a machine credential for that host where I’ve specified the private key (from the test host root user: id_rsa) and username (root) but when I try and run simple ping tests I get the following responses;

Enter passphrase for /tmp/awx_10_gj9d93yy/artifacts/10/ssh_key_data

Enter passphrase for /tmp/awx_11_zr6s99ro/artifacts/11/ssh_key_data

I’m not sure what this actually means as the private key I’m testing with does not use a passphrase and is for the root user on the target machine.

Any ideas please?

Do you tell your job to use the credential you create for the ssh key?

Hi Stephen,

Create a machine creadential
Provide credential name, username(IP of host) or password (Password of host machine) to the credential.

Hope this will work.

Regards