Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dezeroku committed Jul 9, 2024
1 parent d40df03 commit 6a3c188
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions ansible/module_utils/hashivault.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ def is_state_changed(desired_state, current_state, ignore=None):
"""
return(len(get_keys_updated(desired_state, current_state)) > 0)


def parse_duration(duration, fallback=None):
if isinstance(duration, int):
return duration
Expand Down
6 changes: 4 additions & 2 deletions ansible/modules/hashivault/hashivault_pki_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
default: true
description:
- Allows the issuance of certificates with RFC 6125 wildcards in the CN field.
- When set to false, this prevents wildcards from being issued even if they would've been allowed by an option above.
- When set to false, this prevents wildcards from being issued even if they would've
- been allowed by an option above.
allow_any_name:
type: bool
default: false
Expand Down Expand Up @@ -204,7 +205,8 @@
type: bool
default: false
description:
- Specifies whether or not to use PSS signatures over PKCS#1v1.5 signatures when a RSA-type issuer is used.
- Specifies whether or not to use PSS signatures over PKCS#1v1.5 signatures when a RSA-type issuer
- is used.
- Ignored for ECDSA/Ed25519 issuers.
key_usage:
type: list
Expand Down

0 comments on commit 6a3c188

Please sign in to comment.