- hosts: all tasks: - shell: cmd: | export PUPPET_GEM_VERSION='~> {{ puppet }}' mkdir .bundled_gems export GEM_HOME=`pwd`/.bundled_gems export GEM_BIN_DIR=$GEM_HOME/bin ruby <