Change type str -> path in argspec. (#1741) (#1800)

(cherry picked from commit f12df1d21b)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2021-02-12 08:23:40 +01:00
committed by GitHub
parent a3c9c688b9
commit 44ce63ed85
5 changed files with 14 additions and 10 deletions

View File

@@ -79,14 +79,14 @@ options:
- If not specified, it defaults to C($HOME/.config/lxc/client.key).
required: false
aliases: [ key_file ]
type: str
type: path
client_cert:
description:
- The client certificate file path.
- If not specified, it defaults to C($HOME/.config/lxc/client.crt).
required: false
aliases: [ cert_file ]
type: str
type: path
trust_password:
description:
- The client trusted password.
@@ -384,11 +384,11 @@ def main():
default='unix:/var/snap/lxd/common/lxd/unix.socket'
),
client_key=dict(
type='str',
type='path',
aliases=['key_file']
),
client_cert=dict(
type='str',
type='path',
aliases=['cert_file']
),
trust_password=dict(type='str', no_log=True)