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

reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
parent 9122d81485
commit 8e0a2ed729

@ -268,7 +268,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
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'),
annotation = dict(default="", required=False),
pkgsite = dict(default="", required=False),
@ -279,7 +279,7 @@ def main():
p = module.params
pkgs = p["name"].split(",")
pkgs = p["name"]
changed = False
msgs = []

Loading…
Cancel
Save