An Ansible role for installing PhantomJS.
phantomjs_version
See the examples directory.
ansible-galaxy install azavea.phantomjs