Properly label path argument with type='path' (#1940)
This commit is contained in:
parent
3385bf5ef2
commit
7120fb4b01
1 changed files with 5 additions and 4 deletions
|
@ -1683,7 +1683,8 @@ def main():
|
||||||
type='str'
|
type='str'
|
||||||
),
|
),
|
||||||
config=dict(
|
config=dict(
|
||||||
type='str',
|
type='path',
|
||||||
|
default='/etc/lxc/default.conf'
|
||||||
),
|
),
|
||||||
vg_name=dict(
|
vg_name=dict(
|
||||||
type='str',
|
type='str',
|
||||||
|
@ -1701,7 +1702,7 @@ def main():
|
||||||
default='5G'
|
default='5G'
|
||||||
),
|
),
|
||||||
directory=dict(
|
directory=dict(
|
||||||
type='str'
|
type='path'
|
||||||
),
|
),
|
||||||
zfs_root=dict(
|
zfs_root=dict(
|
||||||
type='str'
|
type='str'
|
||||||
|
@ -1710,7 +1711,7 @@ def main():
|
||||||
type='str'
|
type='str'
|
||||||
),
|
),
|
||||||
lxc_path=dict(
|
lxc_path=dict(
|
||||||
type='str'
|
type='path'
|
||||||
),
|
),
|
||||||
state=dict(
|
state=dict(
|
||||||
choices=LXC_ANSIBLE_STATES.keys(),
|
choices=LXC_ANSIBLE_STATES.keys(),
|
||||||
|
@ -1743,7 +1744,7 @@ def main():
|
||||||
default='false'
|
default='false'
|
||||||
),
|
),
|
||||||
archive_path=dict(
|
archive_path=dict(
|
||||||
type='str',
|
type='path',
|
||||||
),
|
),
|
||||||
archive_compression=dict(
|
archive_compression=dict(
|
||||||
choices=LXC_COMPRESSION_MAP.keys(),
|
choices=LXC_COMPRESSION_MAP.keys(),
|
||||||
|
|
Loading…
Reference in a new issue