Hello everyone,
I have a working passbolt installation.
I have a dedicated ansible user.
I would like to setup the anatomicjc’s passbolt ansible plugin.
To do that, I follow this post : Managing Secrets in Ansible using passbolt
This is my playbook environment vars :
environment:
PASSBOLT_BASE_URL: “https://password.domain.tld
”
PASSBOLT_GPG_LIBRARY: “gnupg”
PASSBOLT_FINGERPRINT: “FD50FFC14A35BEB8FBDC6AF8271DBFE16D4FEDE7”
I add the ansible user private key in my ansible server using gpg.
This is the result of the gpg --list-keys command :
pub rsa3072 2023-04-06 [SC]
FD50FFC14A35BEB8FBDC6AF8271DBFE16D4FEDE7
uid [ inconnue] Ansible Ansible<ansible@rouxel.fr>
sub rsa3072 2023-04-06 [E]
And when I start my playbook, I have the following error, don’t know why :
{‘header’: {‘id’: ‘8f6555ac-2374-463b-a649-1cedf27bea3d’, ‘status’: ‘error’, ‘servertime’: 1680789325, ‘action’: ‘881ab948-e40f-5a72-91aa-54b442270029’, ‘message’: ‘Authentication is required to continue’, ‘url’: ‘/users/me.json’, ‘code’: 401}, ‘body’: ‘’}
Does anybody already do this and can help me ?
Thanks