I am using ansible 2.9.11 on my dev machine (arch linux) where I encrypted 
./resources/cloudflare/cert.pem. 
using ansible-vault with a password file. I have commited the file to 
source control.

I can run the playbook without issues on my dev-machine i.e. decryption 
works

Now on my ci machine - which is running ubuntu and ansible 2.7.7 - the run 
of the playbook fails with


Tried to use the vault secret (default) to decrypt 
(/builds/papanito/infrastructure/resources/cloudflare/cert.pem) but it 
failed. Error: HMAC verification failed: Signature did not match digest.
fatal: [node003]: FAILED! => {
"msg": "Decryption failed (no vault secrets were found that could decrypt) 
on /builds/papanito/infrastructure/resources/cloudflare/cert.pem"

I can confirm that I have the password-file on the ci-machine and the 
password in it is correct. So what's going on here? Why decryption does not 
work?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6c70c704-6131-4237-b55d-b81513c24785o%40googlegroups.com.

Reply via email to