- hosts: all become: true tasks: - name: deploy training host become: true command: bash /root/deploy.sh