Task marked Wrong even though I did everything right

I created the key -pair correctly and also validate the key, but i was marked failed, I have added the image

Not sure which task you’re doing exactly, but it looks like you used the wrong key name for the pair, which is what the error is telling you.