Ansible playbook to install compass

'm receiving an error when trying to install compass using a playbook (on an AWS EC2 instance)
Usually we use the following script to install compass -

curl -L [https://get.rvm.io](https://get.rvm.io/) | bash -s stable
gpg --keyserver hkp://[keys.gnupg.net](http://keys.gnupg.net/) --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default
gem install compass

I’ve tried converting this to script to the following playbook -

​for /var/lib/gems you probably need root, not deploy3​, remote the become_user line (it defaults to root).

Brian, if you’re ever in Israel, please do let me buy you a beer.
I indeed need root access to this gem path, but I acually intended to use a different executible (owned by deploy3) and forgot to use the correct path.
Thanks!