(Forked from: https://gist.github.com/cahna/45bb9eee92c5f1fce66f)
When using ArchLinux, I typically prefer to use an AUR helper like pacaur or yaourt to automate away the process of installing a community package.
Ansible's pacman module is
great, but it doesn't support AUR packages or pacman's -U
flag.