Skip to content

Fix hashi_vault lookup module dependency

fix the bug:

An unhandled exception occurred while templating '{{ lookup('community.hashi_vault.hashi_vault', 'secret=infrastructure/data/saas/{env_name}:BACKUP_BUCKET_SECRET_ID'.format(env_name=env_name), auth_method='jwt', role_id=vault_auth_role, jwt=ci_job_jwt, url=vault_addr) }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup plugin 'community.hashi_vault.hashi_vault'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Please pip install hvac to use the hashi_vault lookup module.. Please pip install hvac to use the hashi_vault lookup module.

合并请求报告

加载中