Skip to content

Commit

Permalink
ovirt_auth: fix token no_log (#332)
Browse files Browse the repository at this point in the history
* ovirt_auth: fix token no_log

* add changelogs

* Set to no_log to false

* Set to no_log to false in ovirt_auth
  • Loading branch information
mnecas authored Aug 25, 2021
1 parent 71d29b2 commit 633d951
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/332-ovirt_auth-fix-token-no_log.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- ovirt_auth - Fix token no_log (https://github.com/oVirt/ovirt-ansible-collection/pull/332).
2 changes: 1 addition & 1 deletion plugins/module_utils/ovirt.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def __get_auth_dict():
token=dict(
type='str',
fallback=(env_fallback, ['OVIRT_TOKEN']),
no_log=True,
no_log=False,
),
ca_file=dict(
type='str',
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ovirt_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def main():
kerberos=dict(required=False, type='bool', default=False),
headers=dict(required=False, type='dict'),
state=dict(default='present', choices=['present', 'absent']),
token=dict(default=None, no_log=True),
token=dict(default=None, no_log=False),
ovirt_auth=dict(required=False, type='dict'),
),
required_if=[
Expand Down

0 comments on commit 633d951

Please sign in to comment.