Make the pkg/name param into a list so that changes to make changes to _squash_items easier
This commit is contained in:
parent
682b7ce3bd
commit
9c75b5eac3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue