Skip to content

Commit

Permalink
removed the default key in the lookup plugin documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ramavenkata-loya committed May 9, 2024
1 parent d5e777d commit ecb19c7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions plugins/lookup/conjur_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
conjur_appliance_url:
description: Conjur appliance url
type: string
default:
required: False
ini:
- section: conjur,
Expand All @@ -71,7 +70,6 @@
conjur_authn_login:
description: Conjur authn login
type: string
default:
required: False
ini:
- section: conjur,
Expand All @@ -83,7 +81,6 @@
conjur_account:
description: Conjur account
type: string
default:
required: False
ini:
- section: conjur,
Expand All @@ -95,7 +92,6 @@
conjur_authn_api_key:
description: Conjur authn api key
type: string
default:
required: False
ini:
- section: conjur,
Expand All @@ -107,7 +103,6 @@
conjur_cert_file:
description: Path to the Conjur cert file
type: path
default:
required: False
ini:
- section: conjur,
Expand Down Expand Up @@ -451,6 +446,6 @@ def get_var_value(self, key):
raise AnsibleError("{0} was not defined in configuration".format(key))

if not variable_value:
raise AnsibleError("Invalid {0} variable value".format(key))
raise AnsibleError("The value of the {0} variable is not set".format(key))

return variable_value
return variable_value

0 comments on commit ecb19c7

Please sign in to comment.