Use list type in order to convert directly gather_subset option into list.

pull/18777/head
Yannig Perré 9 years ago committed by Matt Clay
parent b7a5e1e0c8
commit 02abe0b7c9

@ -171,7 +171,7 @@ def main():
global module global module
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
gather_subset=dict(default="all", required=False), gather_subset=dict(default="all", required=False, type='list'),
ignore_ohai=dict(default=False, required=False), ignore_ohai=dict(default=False, required=False),
ignore_facter=dict(default=False, required=False), ignore_facter=dict(default=False, required=False),
filter=dict(default="*", required=False), filter=dict(default="*", required=False),

Loading…
Cancel
Save