Make the pkg/name param into a list so that changes to make changes to _squash_items easier

pull/18777/head
Toshio Kuratomi 9 years ago committed by Matt Clay
parent 682b7ce3bd
commit 9c75b5eac3

@ -269,7 +269,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
state = dict(default="present", choices=["present","absent"], required=False), state = dict(default="present", choices=["present","absent"], required=False),
name = dict(aliases=["pkg"], required=True), name = dict(aliases=["pkg"], required=True, type='list'),
cached = dict(default=False, type='bool'), cached = dict(default=False, type='bool'),
annotation = dict(default="", required=False), annotation = dict(default="", required=False),
pkgsite = dict(default="", required=False), pkgsite = dict(default="", required=False),
@ -280,7 +280,7 @@ def main():
p = module.params p = module.params
pkgs = p["name"].split(",") pkgs = p["name"]
changed = False changed = False
msgs = [] msgs = []

Loading…
Cancel
Save