I created a jenkins user with Ansible, when I would connect to the machine its always asking passpharse. I didn't set it. The provided key has no passpharse
Here is the user creation:
- name: Create Jenkins user
user:
name: jenkins
state: present
shell: /bin/bash
home: /home/jenkins
tags:
- debug
- name: Set authorized key for Jenkins user
authorized_key:
user: jenkins
state: present
key: https://mystorage.blob.core.windows.net/config/{{ env }}id_rsa.pub
tags:
- debug
After when I would connect to the machine via ssh
ssh -i azureid_rsa.pub jenkins@xxx.xxx.xxx.xxx
Enter passphrase for key '../../../../blob/azureid_rsa.pub':
What is the problem? I didn't set the passpharse and the key hasn't have it.