|
|
@ -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 = []
|
|
|
|