(Forked from: https://gist.github.com/wrecker/39ecb1eb1ab8ee1d0ce1)
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.