From 7120fb4b01af0af0cecce2e03e7f604c5a7913fa Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 7 Apr 2016 17:25:04 +0200 Subject: [PATCH] Properly label path argument with type='path' (#1940) --- cloud/lxc/lxc_container.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cloud/lxc/lxc_container.py b/cloud/lxc/lxc_container.py index fb24fbf7644..ea4952f6b03 100644 --- a/cloud/lxc/lxc_container.py +++ b/cloud/lxc/lxc_container.py @@ -1683,7 +1683,8 @@ def main(): type='str' ), config=dict( - type='str', + type='path', + default='/etc/lxc/default.conf' ), vg_name=dict( type='str', @@ -1701,7 +1702,7 @@ def main(): default='5G' ), directory=dict( - type='str' + type='path' ), zfs_root=dict( type='str' @@ -1710,7 +1711,7 @@ def main(): type='str' ), lxc_path=dict( - type='str' + type='path' ), state=dict( choices=LXC_ANSIBLE_STATES.keys(), @@ -1743,7 +1744,7 @@ def main(): default='false' ), archive_path=dict( - type='str', + type='path', ), archive_compression=dict( choices=LXC_COMPRESSION_MAP.keys(),