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