muff1nman/ansible-modules — pull request #1 by brenix (2014-09-12 00:19:33+00:00)
Title: Fix 'packges' typo and use loop when removing packages

I was glad to find someone else who had already made a custom module for using yaourt. When attempting to remove a package, I did run into an error:

`line 147, in remove_packages\n rc, _, _ = yaourt_exec(module,' '.join(args + packges))\nNameError: global name 'packges' is not defined\n`

This was a typo - packges instead of packages.

I also ran into the following error after fixing the typo:
`TypeError: cannot concatenate 'str' and 'list' objects`

I re-used some of the code from the pacman module to loop through each package instead and it is working now.

Thought I'd share this.. Thanks!