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

This commit is contained in:
Yannig Perré 2016-03-12 09:59:40 +01:00 committed by Matt Clay
parent b7a5e1e0c8
commit 02abe0b7c9

View file

@ -171,7 +171,7 @@ def main():
global module
module = AnsibleModule(
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_facter=dict(default=False, required=False),
filter=dict(default="*", required=False),