[re2o-lookup] Update configuration to query passwords from pass
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
13c97d3e07
commit
ed05043465
lookup_plugins
|
@ -527,8 +527,8 @@ class LookupModule(LookupBase):
|
|||
if (api_username is None and api_password is None
|
||||
and self._use_cpasswords):
|
||||
display.vvv("Using cpasswords vault to get API credentials.")
|
||||
api_username = variables.get('vault_re2o_service_user')
|
||||
api_password = variables.get('vault_re2o_service_password')
|
||||
api_username = variables.get('vault', {}).get('re2o_service_user')
|
||||
api_password = variables.get('vault', {}).get('re2o_service_password')
|
||||
|
||||
if api_username is None:
|
||||
raise AnsibleError(to_native(
|
||||
|
|
Loading…
Reference in New Issue