-
When trying to use
This error is consistent between
My task is: - name: Vault | Login
ansible.builtin.set_fact:
hashivault_login_data: "{{ lookup('community.hashi_vault.vault_login', url='http://vault:8200', auth_method='approle', role_id='{{ vault_role_id }}', secret_id='{{ vault_secret_id }}') }}" Where The role ID and secret ID are injected with ansible-playbook -i inventory -e vault_role_id=... -e vault_secret_id=... I have no idea why I'm getting this error. The host I'm running the playbook on is OSX M1. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thank you for including the OS; my first question was going to be if you're on a mac since forking errors with ansible tend to be common there. I don't think this error is actually related to the collection. You can try setting Here's two old issues that talk about it a bit (though one of them it more pertinent to connecting to Windows hosts, and your issue is in a
If the issue persists, I would recommend raising it in real-time chat over Matrix or IRC: The general usage and support channel is probably the right place: I'll leave this open for now, in case there's anything that can be done but based on previous experience I don't think that's possible. Please post an update if you find anything new, thanks! |
Beta Was this translation helpful? Give feedback.
Thank you for including the OS; my first question was going to be if you're on a mac since forking errors with ansible tend to be common there. I don't think this error is actually related to the collection.
You can try setting
--forks=1
just to see if the issue still persists or not.Here's two old issues that talk about it a bit (though one of them it more pertinent to connecting to Windows hosts, and your issue is in a
set_fact
so not even a module):If the issue persists, I would recommend raising it in real-time chat over Matrix or IRC:
The general usage…